sys
library
Classes
-
CommandRunner
-
Process manager for executing command lines
Functions
-
adjustPackageName(String name)
→ String
-
-
directoryExists(String path)
→ bool
-
-
fileExists(String path)
→ bool
-
-
getCwd()
→ String
-
-
getenv(String name)
→ String?
-
-
httpGetBodyAsync(String $urlString)
→ Future<String?>
-
-
identicalBinaries(Uint8List bytes1, Uint8List bytes2)
→ bool
-
-
installBinaryToTempDir(Uint8List bytes, {String prefix = '', dynamic suffix = ''})
→ String
-
-
lastChars(String s, int len)
→ String
-
-
md5(Uint8List bytes)
→ String
-
-
pathBaseName(String path)
→ String
-
-
pathDirectories(String path)
→ List<String>
-
-
pathDirectoryName(String path)
→ String
-
-
pathExpand(String path)
→ String
-
-
pathExtension(String path)
→ String
-
-
pathFileName(String path)
→ String
-
-
pathFiles(String path, [bool? recursive])
→ List<String>
-
-
pathFullName(String path)
→ String
-
-
pathJoin(List<String> parts)
→ String
-
-
pathRename(String oldPath, String newPath)
→ void
-
-
readFileBytes(String path)
→ Uint8List
-
-
readFileLines(String path)
→ List<String>
-
-
readFileString(String path)
→ String
-
-
reformatUglyYaml(String yaml)
→ String
-
-
reformatUglyYamlFile(String yamlPath)
→ void
-
-
runAsync(String command, {Encoding? encoding, bool returnCode = false, bool useBash = false})
→ Future
-
-
runAsync$(List<String> command, {List<String>? rest, Encoding? encoding, bool returnCode = false, bool useBash = false, bool autoQuote = true})
→ Future
-
-
setCwd(String path)
→ void
-
-
sha1(Uint8List bytes)
→ String
-
-
sha224(Uint8List bytes)
→ String
-
-
sha256(Uint8List bytes)
→ String
-
-
sha512(Uint8List bytes)
→ String
-
-
textToLines(String s)
→ List<String>
-
-
timeBasedVersionString()
→ String
-
-
untarToDirectory(dynamic pathOrBytes, String destDir)
→ void
-
-
unzipToDirectory(dynamic pathOrBytes, String destDir)
→ void
-
-
uuidForNamespace(String ns)
→ String
-
Generate a v5 (namespace-name-sha1-based) id
-
uuidRandom()
→ String
-
Generates a RNG version 4 UUID (a random UUID)
-
uuidTimeBased()
→ String
-
Generates a time-based version 1 UUID
-
writeFileBytes(String path, Uint8List data)
→ void
-
-
writeFileString(String path, String data)
→ void
-