utils/file/file library
Functions
-
createAndWrite(
String path, String content) → void -
createTempDir(
) → Directory -
dirContents(
Directory dir, {bool recursive = false}) → Future< List< FileSystemEntity> > -
getDirsUnderPath(
String projectPath) → Future< List< FileSystemEntity> > -
isDSStore(
String path) → bool - Determine if it is a '.DS_Store' file File collection exclusion '.DS_Store' file fixed : IsolateSpawnException: Unable to spawn isolate: xxxx/.DS_Store: Error: The control character U+0000 can only be used in strings and comments.
-
parseInputFiles(
String projectPath, String tempDir) → Future< List< InputFile> > -
posixRelative(
String input, {String from = ''}) → String -
This creates a relative path from
from
toinput
, the output being a posix path on all platforms.