LocalStorageDisk class
Local file system backed disk. Resolves local disk roots with sensible defaults.
Order: explicit disk root → storage root for the local disk →
storage/app or storage/<disk>.
Example:
final root = localStorageDriver.resolveRoot(null, 'local');
- Implemented types
Constructors
- LocalStorageDisk({required String root, FileSystem? fileSystem})
Properties
- fileSystem → FileSystem
-
The underlying file system used by this disk.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- root → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
String path) → String -
Resolves
pathto an absolute path on this disk.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited