Not documented.
- Annotations
- DomName('DirectoryEntry')
- Experimental()
- Extends
- Object
- Entry
- DirectoryEntry
Properties
- FileSystem filesystem
-
read-only, inherited
- String fullPath
-
read-only, inherited
- bool isDirectory
-
read-only, inherited
- bool isFile
-
read-only, inherited
- String name
-
read-only, inherited
Methods
-
copyTo(
DirectoryEntry parent, {String name}) → Future<Entry> -
inherited
-
createDirectory(
String path, {bool exclusive: false}) → Future<Entry> -
Create a new directory with the specified
path
. Ifexclusive
is true, the returned Future will complete with an error if a directory already exists with the specifiedpath
. -
createFile(
String path, {bool exclusive: false}) → Future<Entry> -
Create a new file with the specified
path
. Ifexclusive
is true, the returned Future will complete with an error if a file already exists at the specifiedpath
. -
createReader(
) → DirectoryReader -
getDirectory(
String path) → Future<Entry> -
Retrieve an already existing directory entry. The returned future will
result in an error if a directory at
path
does not exist or if the item atpath
is not a directory. -
getFile(
String path) → Future<Entry> -
Retrieve an already existing file entry. The returned future will
result in an error if a file at
path
does not exist or if the item atpath
is not a file. -
getMetadata(
) → Future<Metadata> -
inherited
-
getParent(
) → Future<Entry> -
inherited
-
moveTo(
DirectoryEntry parent, {String name}) → Future<Entry> -
inherited
-
remove(
) → Future -
inherited
-
removeRecursively(
) → Future -
toUrl(
) → String -
inherited