Functions | |
std::string | concat (const std::string &dir, const std::string &file) |
char | dev_sep_char () |
char | dir_sep_char () |
std::string | dir_sep_chars () |
std::string | dir_sep_str () |
std::string | dirname (const std::string &path) |
bool | is_dev_sep (char c) |
bool | is_dir_sep (char c) |
std::string | native_separator_path (const std::string &path) |
std::string | tail (const std::string &path) |
std::string | tilde_expand (const std::string &name) |
string_vector | tilde_expand (const string_vector &names) |
Variables | |
string_vector | tilde_additional_prefixes = default_prefixes |
string_vector | tilde_additional_suffixes = default_suffixes |
tilde_expansion_hook | tilde_expansion_failure_hook = nullptr |
tilde_expansion_hook | tilde_expansion_preexpansion_hook = nullptr |
std::string octave::sys::file_ops::concat | ( | const std::string & | dir, |
const std::string & | file | ||
) |
Definition at line 359 of file file-ops.cc.
References dir_sep_char(), and is_dir_sep().
char octave::sys::file_ops::dev_sep_char | ( | ) |
Definition at line 222 of file file-ops.cc.
char octave::sys::file_ops::dir_sep_char | ( | ) |
Definition at line 232 of file file-ops.cc.
std::string octave::sys::file_ops::dir_sep_chars | ( | ) |
std::string octave::sys::file_ops::dir_sep_str | ( | ) |
Definition at line 242 of file file-ops.cc.
std::string octave::sys::file_ops::dirname | ( | const std::string & | path | ) |
Definition at line 369 of file file-ops.cc.
References dir_sep_chars().
bool octave::sys::file_ops::is_dev_sep | ( | char | c | ) |
Definition at line 270 of file file-ops.cc.
References dev_sep_char().
bool octave::sys::file_ops::is_dir_sep | ( | char | c | ) |
Definition at line 282 of file file-ops.cc.
References dir_sep_chars().
std::string octave::sys::file_ops::native_separator_path | ( | const std::string & | path | ) |
Definition at line 390 of file file-ops.cc.
References dir_sep_char(), and n.
std::string octave::sys::file_ops::tail | ( | const std::string & | path | ) |
Definition at line 377 of file file-ops.cc.
References dir_sep_chars().
std::string octave::sys::file_ops::tilde_expand | ( | const std::string & | name | ) |
Definition at line 289 of file file-ops.cc.
References len.
Referenced by interpreter::chdir(), chdir(), octave::F__fnmatch__(), octave::F__ftp_mput__(), octave::F__mkdir__(), octave::F__parse_file__(), octave::F__wglob__(), octave::Fglob(), octave::Flink(), octave::Freaddir(), octave::Freadlink(), octave::Frename(), octave::Frmdir(), octave::Fsymlink(), octave::Ftilde_expand(), load_save_system::load(), dir_entry::open(), command_editor::read_init_file(), load_path::remove(), command_history::set_file(), and tree_evaluator::source_file().
string_vector octave::sys::file_ops::tilde_expand | ( | const string_vector & | names | ) |
Definition at line 346 of file file-ops.cc.
References n, and string_vector::numel().
string_vector octave::sys::file_ops::tilde_additional_prefixes = default_prefixes |
Definition at line 265 of file file-ops.cc.
string_vector octave::sys::file_ops::tilde_additional_suffixes = default_suffixes |
Definition at line 267 of file file-ops.cc.
tilde_expansion_hook octave::sys::file_ops::tilde_expansion_failure_hook = nullptr |
Definition at line 263 of file file-ops.cc.
tilde_expansion_hook octave::sys::file_ops::tilde_expansion_preexpansion_hook = nullptr |
Definition at line 261 of file file-ops.cc.