Contents

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 = []) throws

Parameters

  • 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.

See Also

Related Documentation

Updating File Wrappers