FileHandle
public extension FileHandle
Extensions on FileHandle that work with Path rather than String or URL
-
Initializes this
FileHandlefor reading at the location of the provided path.Declaration
Swift
@inlinable convenience init<P>(forReadingAt path: P) throws where P : Pathish -
Initializes this
FileHandlefor writing at the location of the provided path.Declaration
Swift
@inlinable convenience init<P>(forWritingAt path: P) throws where P : Pathish -
Initializes this
FileHandlefor reading and writing at the location of the provided path.Declaration
Swift
@inlinable convenience init<P>(forUpdatingAt path: P) throws where P : Pathish
View on GitHub
FileHandle Extension Reference