ReadWrite
Provides a combined object interface for performing both read and write file system operations.
ReadWrite
implements the FileSystemProvider.ReadWrite
interface, extending both read-only and write capabilities. By delegating to ReadOnly
and Write
objects, it provides comprehensive file system operations including reading, writing, serialization, and path manipulation.
Functions
Creates a new file or directory within a specified parent directory.
Converts an absolute string path into a normalized Path object suitable for the current file system.
Resolves a relative path string against a given base path and normalizes the resulting path.
Retrieves the metadata associated with the specified file or directory.
Relativizes the given path path
based on the specified root
path. This function calculates the relative path from the root
to the path
.
Converts the specified path to its absolute path represented as a string.
Converts the given path to its string representation. The method is deprecated and it is recommended to use toAbsolutePathString
instead.