GNU Octave
3.8.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 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 799 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 716 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 Ffnmatch | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 681 of file dirfns.cc.
References error_state, gripe_wrong_type_arg(), glob_match::match(), print_usage(), and file_ops::tilde_expand().
Referenced by install_dirfns_fcns().
OCTAVE_EXPORT octave_value_list Fglob | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 612 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 391 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 234 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 748 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 486 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 529 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 321 of file dirfns.cc.
References error(), error_state, gripe_wrong_type_arg(), interactive, octave_value_list::length(), octave_recursive_rmdir(), octave_rmdir(), octave_yes_or_no(), print_usage(), and file_ops::tilde_expand().
Referenced by install_dirfns_fcns().
OCTAVE_EXPORT octave_value_list Fsymlink | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 438 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().
octave_time Vlast_chdir_time = 0.0 |
Definition at line 69 of file dirfns.cc.
Referenced by out_of_date_check().