GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cerrno>
#include <cstdio>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include "file-ops.h"
#include "file-stat.h"
#include "glob-match.h"
#include "oct-env.h"
#include "pathsearch.h"
#include "str-vec.h"
#include "Cell.h"
#include "defun.h"
#include "dir-ops.h"
#include "dirfns.h"
#include "error.h"
#include "gripes.h"
#include "input.h"
#include "load-path.h"
#include "octave-link.h"
#include "oct-obj.h"
#include "pager.h"
#include "procstream.h"
#include "sysdep.h"
#include "toplev.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
Go to the source code of this file.
Variables | |
static bool | Vconfirm_recursive_rmdir = true |
octave_time | Vlast_chdir_time = 0.0 |
OCTAVE_EXPORT octave_value_list F__fnmatch__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 690 of file dirfns.cc.
References error_state, gripe_wrong_type_arg(), glob_match::match(), print_usage(), and file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list Fcd | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 123 of file dirfns.cc.
References error_state, octave_env::get_current_directory(), octave_env::get_home_directory(), octave_value_list::length(), octave_change_to_directory(), and octave_value().
Referenced by main_window::change_directory_callback(), and octave_qt_link::file_in_path().
OCTAVE_EXPORT octave_value_list Fconfirm_recursive_rmdir | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 808 of file dirfns.cc.
References SET_INTERNAL_VARIABLE.
Referenced by maximum_braindamage().
OCTAVE_EXPORT octave_value_list Ffilesep | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 725 of file dirfns.cc.
References file_ops::dir_sep_chars(), file_ops::dir_sep_str(), error_state, gripe_wrong_type_arg(), and print_usage().
OCTAVE_EXPORT octave_value_list Fglob | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 620 of file dirfns.cc.
References error_state, glob_match::glob(), gripe_wrong_type_arg(), print_usage(), and file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list Flink | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 396 of file dirfns.cc.
References error_state, gripe_wrong_type_arg(), octave_link(), and print_usage().
Referenced by install_dirfns_fcns().
OCTAVE_EXPORT octave_value_list Fmkdir | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 237 of file dirfns.cc.
References file_ops::concat(), error_state, gripe_wrong_type_arg(), base_file_stat::is_dir(), octave_value_list::length(), octave_mkdir(), print_usage(), and file_ops::tilde_expand().
Referenced by install_dirfns_fcns().
OCTAVE_EXPORT octave_value_list Fpathsep | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 757 of file dirfns.cc.
References error(), error_state, octave_value::length(), dir_path::path_sep_char(), dir_path::path_sep_str(), and print_usage().
OCTAVE_EXPORT octave_value_list Fpwd | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 163 of file dirfns.cc.
References octave_env::get_current_directory(), and octave_value().
OCTAVE_EXPORT octave_value_list Freaddir | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 180 of file dirfns.cc.
References dir_entry::error(), error_state, gripe_wrong_type_arg(), print_usage(), dir_entry::read(), and string_vector::sort().
OCTAVE_EXPORT octave_value_list Freadlink | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 491 of file dirfns.cc.
References error_state, gripe_wrong_type_arg(), octave_readlink(), and print_usage().
Referenced by install_dirfns_fcns().
OCTAVE_EXPORT octave_value_list Frename | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 534 of file dirfns.cc.
References error_state, gripe_wrong_type_arg(), octave_rename(), and print_usage().
Referenced by install_dirfns_fcns().
OCTAVE_EXPORT octave_value_list Frmdir | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 325 of file dirfns.cc.
References error(), error_state, forced_interactive, gripe_wrong_type_arg(), interactive, octave_value_list::length(), octave_recursive_rmdir(), octave_rmdir(), octave_yes_or_no(), print_usage(), file_ops::tilde_expand(), and Vconfirm_recursive_rmdir.
Referenced by install_dirfns_fcns().
OCTAVE_EXPORT octave_value_list Fsymlink | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 443 of file dirfns.cc.
References error_state, gripe_wrong_type_arg(), octave_symlink(), and print_usage().
Referenced by install_dirfns_fcns().
|
static |
Definition at line 72 of file dirfns.cc.
References octave_link::change_directory(), octave_env::chdir(), error(), octave_env::get_current_directory(), octave_time::stamp(), file_ops::tilde_expand(), and load_path::update().
Referenced by Fcd().
|
static |
octave_time Vlast_chdir_time = 0.0 |
Definition at line 69 of file dirfns.cc.
Referenced by out_of_date_check().