#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 OCTAVE_NAMESPACE_BEGIN bool | Vconfirm_recursive_rmdir = true |
| OCTAVE_EXPORT octave_value_list F__fnmatch__ | ( | const octave_value_list & | args, |
| int | |||
| ) |
Definition at line 652 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 188 of file dirfns.cc.
References concat(), octave::sys::file_ops::dirname(), 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 592 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 100 of file dirfns.cc.
References octave::sys::file_ops::dirname(), octave_value(), and print_usage().
| OCTAVE_EXPORT octave_value_list Fconfirm_recursive_rmdir | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 724 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 676 of file dirfns.cc.
References dir_sep_chars, octave::sys::file_ops::dir_sep_str(), error(), and print_usage().
| OCTAVE_EXPORT octave_value_list Fglob | ( | const octave_value_list & | args, |
| int | |||
| ) |
Definition at line 524 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 | nargout | ||
| ) |
Definition at line 319 of file dirfns.cc.
References error(), 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 704 of file dirfns.cc.
References ovl(), 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 155 of file dirfns.cc.
References octave::sys::file_ops::dirname(), octave::sys::get_dirlist(), ovl(), print_usage(), 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 404 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 | nargout | ||
| ) |
Definition at line 433 of file dirfns.cc.
References error(), event_manager::file_remove(), 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 | nargout | ||
| ) |
Definition at line 245 of file dirfns.cc.
References octave::sys::file_ops::dirname(), error(), event_manager::file_remove(), event_manager::file_renamed(), application::forced_interactive(), ovl(), print_usage(), octave::sys::recursive_rmdir(), octave::sys::rmdir(), octave::sys::file_ops::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 361 of file dirfns.cc.
References error(), ovl(), print_usage(), octave::sys::symlink(), and octave::sys::file_ops::tilde_expand().
|
static |
Definition at line 69 of file dirfns.cc.
Referenced by Fconfirm_recursive_rmdir(), and Frmdir().