class Files.DirRef

A DirRef is a platform-independent representation of an existing directory. DirRef objects are immutable.

See also: FileRef


DirRef(path = string)
Constructs a DirRef from a full pathname.

Only the absolute pathname of an existing directory should be used. The effect of a relative or nonexistent pathname, or the pathname of something which is not a directory, is undefined.


Read only. The full pathname of the directory.