my.file

Members

Functions

copyRecurse
void copyRecurse(Path src, Path dst)

Copy src into dst recursively.

exists
bool exists(Path file)
existsAnd
bool existsAnd(Path file)
existsAnd
bool existsAnd(Path file)
existsAnd
bool existsAnd(Path file)
followSymlink
Optional!Path followSymlink(Path p, int maxDepth)

Follow a symlink until it reaches its target.

getAttrs
bool getAttrs(Path file, uint attributes)

A nothrow version of getAttributes in Phobos.

getLinkAttrs
bool getLinkAttrs(Path file, uint attributes)

A nothrow version of getLinkAttributes in Phobos.

isExecutable
bool isExecutable(Path p)

Check if a file is executable.

setAttrs
bool setAttrs(Path file, uint attributes)

A nothrow version of setAttributes in Phobos.

setExecutable
void setExecutable(Path p)

Make a file executable by all users on the system.

which
AbsolutePath[] which(Path[] dirs, string name)

As the unix command which it searches in dirs for an executable name.

whichFromEnv
AbsolutePath[] whichFromEnv(string envKey, string name)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

attrIsDir (from std.file)
public import std.file : attrIsDir, attrIsFile, attrIsSymlink, isFile, isDir, isSymlink;
Undocumented in source.
attrIsFile (from std.file)
public import std.file : attrIsDir, attrIsFile, attrIsSymlink, isFile, isDir, isSymlink;
Undocumented in source.
attrIsSymlink (from std.file)
public import std.file : attrIsDir, attrIsFile, attrIsSymlink, isFile, isDir, isSymlink;
Undocumented in source.
isDir (from std.file)
public import std.file : attrIsDir, attrIsFile, attrIsSymlink, isFile, isDir, isSymlink;
Undocumented in source.
isFile (from std.file)
public import std.file : attrIsDir, attrIsFile, attrIsSymlink, isFile, isDir, isSymlink;
Undocumented in source.
isSymlink (from std.file)
public import std.file : attrIsDir, attrIsFile, attrIsSymlink, isFile, isDir, isSymlink;
Undocumented in source.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)