Results for “Std.Fs.FsError”
14 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Fs.FsError
Why a filesystem operation did not do what it was asked.
- Std.Fs.canonical
Str -> Result[Str, Std.Fs.FsError]A path with every symbolic link and relative step resolved.
- Std.Fs.linkTo
Str -> Str -> Result[(), Std.Fs.FsError]A symbolic link at
linkthat namestarget. - Std.Fs.metadata
Str -> Result[Std.Fs.Metadata, Std.Fs.FsError]What is known about a path: its size, kind, and permissions.
- Std.Fs.permissions
Str -> Result[Std.Fs.Permissions, Std.Fs.FsError]What a path permits.
- Std.Fs.removeTree
Str -> Result[(), Std.Fs.FsError]A path and everything beneath it removed.
- Std.Fs.rename
Str -> Str -> Result[(), Std.Fs.FsError]A path renamed, replacing whatever the destination held.
- Std.Fs.resolveInside
Str -> Str -> Result[Str, Std.Fs.FsError]The real location of
pathwithinbase, refused when it lies outside. - Std.Fs.setPermissions
Str -> &Std.Fs.Permissions -> Result[(), Std.Fs.FsError]A path's permissions set to exactly the flags given.
- Std.Fs.temporaryDirectoryIn
Str -> Str -> Result[Str, Std.Fs.FsError]A new empty directory under
parent, named byprefixand random digits. - Std.Fs.temporaryFileIn
Str -> Str -> Result[Str, Std.Fs.FsError]A new empty file in a directory, under a name no other process holds.
- Std.Fs.withTemporaryDirectory
Str -> fn(Str) -> Result[T, Std.Fs.FsError] -> Result[T, Std.Fs.FsError]An action given a fresh temporary directory that is removed afterwards.
- Std.Fs.writeAtomically
Str -> &Bytes -> Result[(), Std.Fs.FsError]A file's contents replaced so that no reader ever sees them half written.
- Std.Fs.writeTextAtomically
Str -> Str -> Result[(), Std.Fs.FsError]Text written with the same guarantee as
writeAtomically.
