#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.
Functions | |
OCTAVE_EXPORT octave_value_list | F__fnmatch__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__mkdir__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__wglob__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fcd (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fconfirm_recursive_rmdir (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Ffilesep (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fglob (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Flink (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fpathsep (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fpwd (const octave_value_list &, int) |
OCTAVE_EXPORT octave_value_list | Freaddir (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Freadlink (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Frename (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Frmdir (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fsymlink (const octave_value_list &args, int nargout) |
Variables | |
static bool | Vconfirm_recursive_rmdir = true |
OCTAVE_EXPORT octave_value_list F__fnmatch__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 708 of file dirfns.cc.
References glob_match::match(), ovl(), print_usage(), and tilde_expand().
OCTAVE_EXPORT octave_value_list F__mkdir__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 189 of file dirfns.cc.
References concat(), dirname(), mkdir(), ovl(), print_usage(), and tilde_expand().
OCTAVE_EXPORT octave_value_list F__wglob__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 633 of file dirfns.cc.
References ovl(), tilde_expand(), and windows_glob().
OCTAVE_EXPORT octave_value_list Fcd | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 100 of file dirfns.cc.
References dirname(), octave_value(), and print_usage().
OCTAVE_EXPORT octave_value_list Fconfirm_recursive_rmdir | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 780 of file dirfns.cc.
References set_internal_variable(), and Vconfirm_recursive_rmdir.
Referenced by interpreter::maximum_braindamage().
OCTAVE_EXPORT octave_value_list Ffilesep | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 732 of file dirfns.cc.
References dir_sep_chars, dir_sep_str(), error(), and print_usage().
OCTAVE_EXPORT octave_value_list Fglob | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 525 of file dirfns.cc.
References glob_match::glob(), ovl(), print_usage(), and tilde_expand().
OCTAVE_EXPORT octave_value_list Flink | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 320 of file dirfns.cc.
References error(), link(), ovl(), print_usage(), and tilde_expand().
OCTAVE_EXPORT octave_value_list Fpathsep | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 760 of file dirfns.cc.
References ovl(), directory_path::path_sep_str(), and print_usage().
OCTAVE_EXPORT octave_value_list Fpwd | ( | const octave_value_list & | , |
int | |||
) |
OCTAVE_EXPORT octave_value_list Freaddir | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 154 of file dirfns.cc.
References dirname(), get_dirlist(), ovl(), print_usage(), string_vector::sort(), and tilde_expand().
OCTAVE_EXPORT octave_value_list Freadlink | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 405 of file dirfns.cc.
References ovl(), print_usage(), readlink(), symlink(), and tilde_expand().
OCTAVE_EXPORT octave_value_list Frename | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 434 of file dirfns.cc.
References error(), event_manager::file_remove(), event_manager::file_renamed(), ovl(), print_usage(), rename(), and tilde_expand().
OCTAVE_EXPORT octave_value_list Frmdir | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 246 of file dirfns.cc.
References dirname(), error(), event_manager::file_remove(), event_manager::file_renamed(), application::forced_interactive(), ovl(), print_usage(), recursive_rmdir(), rmdir(), tilde_expand(), Vconfirm_recursive_rmdir, and input_system::yes_or_no().
OCTAVE_EXPORT octave_value_list Fsymlink | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 362 of file dirfns.cc.
References error(), ovl(), print_usage(), symlink(), and tilde_expand().
|
static |
Definition at line 69 of file dirfns.cc.
Referenced by Fconfirm_recursive_rmdir(), and Frmdir().