Write
Singleton object that provides implementations for creating, moving, writing, and deleting files or directories, while adhering to a serialization context. It also ensures compatibility with specific operating system constraints such as Windows reserved names. Implements the FileSystemProvider.Write
interface with Path
as the path type and delegates serialization functionalities to a Serialization
implementation.
Functions
Creates a new file or directory at the specified location.
Converts a string representation of an absolute file path into a Path object.
Converts a relative path string to a Path
object by resolving it against a base path.
Moves a file or directory from the source path to the target path. If the source is a directory, all its contents are moved recursively. If the source is a file, it is moved directly to the target. Ensures operations are performed using IO dispatchers.
Converts a given Path object into its absolute path representation as a string.
Converts the given path to a string representation of the file path.