#include <cerrno>
#include <cstdio>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <string>
#include "file-ops.h"
#include "file-stat.h"
#include "glob-match.h"
#include "oct-env.h"
#include "oct-glob.h"
#include "pathsearch.h"
#include "str-vec.h"
#include "Cell.h"
#include "defun.h"
#include "dir-ops.h"
#include "error.h"
#include "errwarn.h"
#include "event-manager.h"
#include "input.h"
#include "load-path.h"
#include "octave.h"
#include "ovl.h"
#include "pager.h"
#include "procstream.h"
#include "sysdep.h"
#include "interpreter.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_EXPORT octave_value_list F__fnmatch__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 605 of file dirfns.cc.
References glob_match::match(), ovl(), print_usage(), and octave::sys::file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list F__mkdir__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 186 of file dirfns.cc.
References octave::sys::file_ops::concat(), octave::sys::file_ops::dirname(), octave::sys::base_file_stat::is_dir(), octave::sys::mkdir(), ovl(), print_usage(), and octave::sys::file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list F__wglob__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 545 of file dirfns.cc.
References ovl(), octave::sys::file_ops::tilde_expand(), and octave::sys::windows_glob().
OCTAVE_EXPORT octave_value_list Fcd | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 98 of file dirfns.cc.
References octave::sys::file_ops::dirname(), octave::sys::env::get_current_directory(), octave::sys::env::get_home_directory(), octave_value(), print_usage(), and retval.
OCTAVE_EXPORT octave_value_list Fconfirm_recursive_rmdir | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 679 of file dirfns.cc.
References SET_INTERNAL_VARIABLE.
Referenced by octave::interpreter::maximum_braindamage().
OCTAVE_EXPORT octave_value_list Ffilesep | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 629 of file dirfns.cc.
References octave::sys::file_ops::dir_sep_chars(), octave::sys::file_ops::dir_sep_str(), error(), print_usage(), and retval.
OCTAVE_EXPORT octave_value_list Fglob | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 478 of file dirfns.cc.
References glob_match::glob(), ovl(), print_usage(), and octave::sys::file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list Flink | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 306 of file dirfns.cc.
References octave::sys::link(), ovl(), print_usage(), and octave::sys::file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list Fpathsep | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 657 of file dirfns.cc.
References ovl(), octave::directory_path::path_sep_str(), and print_usage().
OCTAVE_EXPORT octave_value_list Fpwd | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 136 of file dirfns.cc.
References octave::sys::env::get_current_directory(), and ovl().
OCTAVE_EXPORT octave_value_list Freaddir | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 153 of file dirfns.cc.
References octave::sys::file_ops::dirname(), octave::sys::get_dirlist(), ovl(), print_usage(), retval, string_vector::sort(), and octave::sys::file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list Freadlink | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 369 of file dirfns.cc.
References ovl(), print_usage(), octave::sys::readlink(), octave::sys::symlink(), and octave::sys::file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list Frename | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 398 of file dirfns.cc.
References octave::event_manager::file_remove(), octave::event_manager::file_renamed(), ovl(), print_usage(), octave::sys::rename(), and octave::sys::file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list Frmdir | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 243 of file dirfns.cc.
References octave::sys::file_ops::dirname(), error(), octave::event_manager::file_remove(), octave::event_manager::file_renamed(), octave::application::forced_interactive(), ovl(), print_usage(), octave::sys::recursive_rmdir(), octave::sys::rmdir(), octave::sys::file_ops::tilde_expand(), Vconfirm_recursive_rmdir, and octave::input_system::yes_or_no().
OCTAVE_EXPORT octave_value_list Fsymlink | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 337 of file dirfns.cc.
References ovl(), print_usage(), octave::sys::symlink(), and octave::sys::file_ops::tilde_expand().