GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
dirfns.cc File Reference
#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"
Include dependency graph for dirfns.cc:

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)
 
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)
 
OCTAVE_EXPORT octave_value_list Frmdir (octave::interpreter &interp, const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fsymlink (const octave_value_list &args, int)
 

Variables

static bool Vconfirm_recursive_rmdir = true
 

Function Documentation

◆ F__fnmatch__()

OCTAVE_EXPORT octave_value_list F__fnmatch__ ( const octave_value_list args,
int   
)

◆ F__mkdir__()

◆ F__wglob__()

OCTAVE_EXPORT octave_value_list F__wglob__ ( const octave_value_list args,
int   
)

◆ Fcd()

◆ Fconfirm_recursive_rmdir()

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().

◆ Ffilesep()

OCTAVE_EXPORT octave_value_list Ffilesep ( const octave_value_list args,
int   
)

◆ Fglob()

OCTAVE_EXPORT octave_value_list Fglob ( const octave_value_list args,
int   
)

◆ Flink()

OCTAVE_EXPORT octave_value_list Flink ( const octave_value_list args,
int   
)

◆ Fpathsep()

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().

◆ Fpwd()

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().

◆ Freaddir()

◆ Freadlink()

OCTAVE_EXPORT octave_value_list Freadlink ( const octave_value_list args,
int   
)

◆ Frename()

◆ Frmdir()

◆ Fsymlink()

OCTAVE_EXPORT octave_value_list Fsymlink ( const octave_value_list args,
int   
)

Variable Documentation

◆ Vconfirm_recursive_rmdir

bool Vconfirm_recursive_rmdir = true
static

Definition at line 67 of file dirfns.cc.

Referenced by Frmdir().