Contents

init(_:isDirectory:)

Creates a file URL that references the local file or directory at the file path you specify.

Declaration

init?(_ path: FilePath, isDirectory: Bool)

Parameters

  • path:

    The location in the file system.

  • isDirectory:

    A Boolean value that indicates whether the location is a directory.

Discussion

See Also

Creating a file URL from a file path