utils/io/entity library
Functions
-
asDirectory(
FileSystemEntity dir) → Directory - convert to a directory object if necessary
-
asFile(
FileSystemEntity file) → File - convert to a file object if necessary
-
asLink(
FileSystemEntity link) → Link - convert to a link object if necessary
-
childDirectory(
Directory dir, String sub) → Directory - get a child as a directory
-
childFile(
Directory dir, String sub) → File - get a child as a file
-
childLink(
Directory dir, String sub) → Link - get a child as a link
-
entityExists(
FileSystemEntity entity) → Future< bool>