Create a LocalFileSystem.
The disk options.
ReadonlynameA human-readable disk name (e.g. 'local', 's3'), used by the StorageManager.
StaticcreateCreate a LocalFileSystem.
The disk options (root defaults to the current working directory).
A new LocalFileSystem.
Local-disk implementation of the agnostic FileSystem contract.
All operations are async (non-blocking) and CONFINED to the configured root directory: any path that resolves outside the root is rejected, so a caller-supplied path such as
../../etc/passwdcan never escape the disk. This mirrors how an object store confines access to a bucket, which is exactly what makes a futureS3FileSystema drop-in for the same interface.