expandTilde

Expand tilde in a.

  1. FilePath expandTilde(FilePath a)
  2. DirPath expandTilde(DirPath a)
    @safe nothrow
    expandTilde

Examples

assert(FilePath("~").expandTilde);
assert(DirPath("~").expandTilde);

Meta