init(keySet:directory:path:flags:)
Creates a new archive header with fields derived from the filesystem object, at the specified directory and path.
Declaration
init?(keySet: ArchiveHeader.FieldKeySet, directory: FilePath, path: FilePath, flags: ArchiveFlags)Parameters
- keySet:
The fields that the new header includes.
- directory:
The base directory of the filesystem object.
- path:
The path, relative to
directory, to the target filesystem object. - flags:
Flags that control the behavior of the operation.