io/utils
library
Functions
-
deleteSync(String path)
→ void
-
-
existsSync(String path)
→ bool
-
Returns true if any file or directory exists at
path
.
-
tryProcessRunSync(String executable, List<String> args, {String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, bool runInShell = false, Encoding? stdoutEncoding = systemEncoding, Encoding? stderrEncoding = systemEncoding, void onProcessException(ProcessException exception, StackTrace stackTrace)?})
→ ProcessResult?
-
Tries to synchronously run the
executable
with the provided args
.