read(from:options:)
Recursively rereads the entire contents of a file wrapper from the specified location on disk.
Declaration
func read(from url: URL, options: FileWrapper.ReadingOptions = []) throwsParameters
- url:
URL of the file-system node corresponding to the file wrapper.
- options:
Option flags for reading the node located at
url. See Readingoptions for possible values.
Discussion
When reading a directory, children are added and removed as necessary to match the file system.