PhysicalFileProvider class
Looks up files using the on-disk file system.
This provider supports file change notifications and exclusion filters.
- Implemented types
Constructors
- PhysicalFileProvider(String root, {PhysicalFileProviderOptions? options})
- Creates a new instance of PhysicalFileProvider at the given root directory.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- options → PhysicalFileProviderOptions
-
final
- root → String
-
The root directory for this instance.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- watcher → PhysicalFilesWatcher
-
no setter
Methods
-
dispose(
) → void -
Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources.
override
-
getDirectoryContents(
String subpath) → DirectoryContents -
Enumerate a directory at the given path, if any.
override
-
getFileInfo(
String subpath) → FileInfo -
Locate a file at the given path.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
watch(
String filter) → IChangeToken -
Creates an IChangeToken for the specified
filter.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited