- checkMd5
bool checkMd5(string path, string md5)
Undocumented in source.
- feedDigestData
void feedDigestData(D digest, string s)
Undocumented in source. Be warned that the author may not have intended to support it.
- feedDigestData
void feedDigestData(D digest, string[] ss)
Undocumented in source. Be warned that the author may not have intended to support it.
- feedDigestData
void feedDigestData(D digest, V val)
Undocumented in source. Be warned that the author may not have intended to support it.
- installCopy
void installCopy(string file, string target)
Install file to target.
target's directory is recursively created if does not exist.
if a target exists and is newer or have same date than file, install is not performed
- lockFile
auto lockFile(string path, Duration timeout)
Obtain a lock for a file at the given path. If the file cannot be locked
within the given duration, an exception is thrown. The file will be created
if it does not yet exist. Deleting the file is not safe as another process
could create a new file with the same name.
The returned lock will get unlocked upon destruction.
- runCommand
void runCommand(string[] command, string workDir, bool quiet, string[string] env)
Undocumented in source. Be warned that the author may not have intended to support it.
- runCommands
void runCommands(string[][] commands, string workDir, bool quiet, string[string] env)
Undocumented in source. Be warned that the author may not have intended to support it.
- searchExecutable
string searchExecutable(string exe)
Undocumented in source. Be warned that the author may not have intended to support it.
- searchInEnvPath
string searchInEnvPath(string envPath, string filename, char sep)
Search for filename in the envPath variable content which can
contain multiple paths separated with sep depending on platform.
- searchPatternInEnvPath
string[] searchPatternInEnvPath(string envPath, string pattern, char sep)
Search for filename pattern in the envPath variable content which can
contain multiple paths separated with sep depending on platform.
- tempFilePath
string tempFilePath(string fnFmt)
return the path of a file in a temp dir location
with a unique name. fnFmt should be a file name (without directory)
containing "%s" for use with std.format. It is used to insert a unique
random string in the path.