Inheritance diagram for FileProxy:
Public Member Functions | |
this (FilePath path) | |
this (char[] path) | |
FilePath | getPath () |
char[] | toString () |
bool | isExisting () |
FilePath[] | toList () |
void | write (IWriter emit) |
Private Attributes | |
FilePath | path |
Classes | |
class | VersionPosix |
class | VersionWin32 |
Compile with -version=Win32SansUnicode to enable Win95 & Win32s file support.
Definition at line 120 of file FileProxy.d.
|
Construct a FileProxy from the provided FilePath Reimplemented in File. Definition at line 130 of file FileProxy.d. References path. |
|
Construct a FileProxy from a text string Reimplemented in File. Definition at line 141 of file FileProxy.d. |
|
Return the FilePath associated with this FileProxy Definition at line 152 of file FileProxy.d. References path. |
|
Return the name of the associated path Definition at line 163 of file FileProxy.d. References path, and FilePath::toString(). |
|
Does this path currently exist? Definition at line 174 of file FileProxy.d. |
|
List the files contained within the associated path:
FileProxy proxy = new FileProxy ("."); foreach (FilePath path; proxy.toList()) Stdout.put(path).cr(); Definition at line 196 of file FileProxy.d. Referenced by FileScan::scanFiles(). |
|
Write this FileProxy to the given IWriter. We just emit the filepath, since that's what we represent. Reimplemented from IWritable. Definition at line 209 of file FileProxy.d. References path. Referenced by UnicodeFile(), and UnicodeFileTemplate(). |
|