#include <vul_file.h>
Definition at line 25 of file vul_file.h.
Static Public Member Functions | |
| static vcl_string | get_cwd () |
| Return current working directory. | |
| static bool | change_directory (char const *dirname) |
| change current working directory. | |
| static bool | change_directory (vcl_string const &dirname) |
| static bool | make_directory (char const *filename) |
| Make a writable directory. | |
| static bool | make_directory (vcl_string const &filename) |
| static bool | make_directory_path (char const *filename) |
| Make a writable directory, including any necessary parents. | |
| static bool | make_directory_path (vcl_string const &filename) |
| static bool | is_directory (char const *filename) |
| Return true iff filename is a directory. | |
| static bool | is_directory (const vcl_string &filename) |
| static vcl_string | expand_tilde (char const *filename) |
| Expand any leading ~ escapes in filename. | |
| static vcl_string | expand_tilde (vcl_string const &filename) |
| static bool | exists (char const *filename) |
| Return true iff filename exists. It may be any sort of file. | |
| static bool | exists (vcl_string const &filename) |
| static unsigned long | size (char const *filename) |
| Return size of vul_file. | |
| static unsigned long | size (vcl_string filename) |
| static vcl_string | dirname (char const *filename) |
| Return dirname. | |
| static vcl_string | dirname (vcl_string const &filename) |
| static vcl_string | extension (char const *filename) |
| Return extension (including the '. | |
| static vcl_string | extension (vcl_string const &filename) |
| static vcl_string | basename (char const *filename, char const *suffix=0) |
| Return basename. | |
| static vcl_string | basename (vcl_string const &filename, char const *suffix=0) |
| static vcl_string | strip_directory (char const *filename) |
| Strips away directory of the filename. | |
| static vcl_string | strip_directory (vcl_string const &filename) |
| static vcl_string | strip_extension (char const *filename) |
| Strips away extension of the filename. | |
| static vcl_string | strip_extension (vcl_string const &filename) |
| static bool | delete_file_glob (char const *file_glob) |
| Delete 1 or more files using the Local OS preferred globbing. | |
|
||||||||||||
|
Definition at line 87 of file vul_file.h. |
|
||||||||||||
|
Return basename.
Definition at line 141 of file vul_file.cxx. |
|
|
Definition at line 32 of file vul_file.h. |
|
|
change current working directory.
Definition at line 43 of file vul_file.cxx. |
|
|
Delete 1 or more files using the Local OS preferred globbing.
E.g.
Definition at line 187 of file vul_file.cxx. |
|
|
Definition at line 75 of file vul_file.h. |
|
|
Return dirname.
Definition at line 88 of file vul_file.cxx. |
|
|
Definition at line 65 of file vul_file.h. |
|
|
Return true iff filename exists. It may be any sort of file.
Definition at line 82 of file vul_file.cxx. |
|
|
Definition at line 59 of file vul_file.h. |
|
|
Expand any leading ~ escapes in filename.
Definition at line 200 of file vul_file.cxx. |
|
|
Definition at line 81 of file vul_file.h. |
|
|
Return extension (including the '. '). Definition at line 104 of file vul_file.cxx. |
|
|
Return current working directory.
Definition at line 35 of file vul_file.cxx. |
|
|
Definition at line 53 of file vul_file.h. |
|
|
Return true iff filename is a directory.
Definition at line 57 of file vul_file.cxx. |
|
|
Definition at line 40 of file vul_file.h. |
|
|
Make a writable directory. You might imagine mkdir would be a better name, and then you might imagine a world w/out ms. Definition at line 48 of file vul_file.cxx. |
|
|
Definition at line 47 of file vul_file.h. |
|
|
Make a writable directory, including any necessary parents. Returns true if successful, or if the directory alredy exists. Definition at line 65 of file vul_file.cxx. |
|
|
Definition at line 71 of file vul_file.h. |
|
|
Return size of vul_file.
Definition at line 73 of file vul_file.cxx. |
|
|
Definition at line 93 of file vul_file.h. |
|
|
Strips away directory of the filename.
Definition at line 115 of file vul_file.cxx. |
|
|
Definition at line 98 of file vul_file.h. |
|
|
Strips away extension of the filename.
Definition at line 130 of file vul_file.cxx. |
1.4.4