#include <algorithm>
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "pathsearch.h"
#include "defaults.h"
#include "defun.h"
#include "input.h"
#include "load-path.h"
#include "pager.h"
#include "parse.h"
#include "toplev.h"
#include "unwind-prot.h"
#include "utils.h"
Functions | |
load_path::dir_info::fcn_file_map_type | get_fcn_files (const std::string &d) |
void | print_types (std::ostream &os, int types) |
void | print_fcn_list (std::ostream &os, const load_path::dir_info::fcn_file_map_type &lst) |
string_vector | get_file_list (const load_path::dir_info::fcn_file_map_type &lst) |
std::string | genpath (const std::string &dirname, const string_vector &skip) |
void | execute_pkg_add (const std::string &dir) |
void | execute_pkg_del (const std::string &dir) |
DEFUN (genpath, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} genpath (@var{dir})\n\ Return a path constructed from @var{dir} and all its subdirectories.\n\ @end deftypefn") | |
DEFUN (rehash,,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} rehash ()\n\ Reinitialize Octave's load path directory cache.\n\ @end deftypefn") | |
DEFUN (command_line_path,,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} command_line_path (@dots{})\n\ Return the command line path variable.\n\ \n\ @seealso{path, addpath, rmpath, genpath, pathdef, savepath, pathsep}\n\ @end deftypefn") | |
DEFUN (restoredefaultpath,,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} restoredefaultpath (@dots{})\n\ Restore Octave's path to it's initial state at startup.\n\ \n\ @seealso{path, addpath, rmpath, genpath, pathdef, savepath, pathsep}\n\ @end deftypefn") | |
DEFUN (__pathorig__,,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} __pathorig__ ()\n\ Undocumented internal function.\n\ @end deftypefn") | |
DEFUN (path, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} path (@dots{})\n\ Modify or display Octave's load path.\n\ \n\ If @var{nargin} and @var{nargout} are zero, display the elements of\n\ Octave's load path in an easy to read format.\n\ \n\ If @var{nargin} is zero and nargout is greater than zero, return the\n\ current load path.\n\ \n\ If @var{nargin} is greater than zero, concatenate the arguments,\n\ separating them with @code{pathsep()}. Set the internal search path\n\ to the result and return it.\n\ \n\ No checks are made for duplicate elements.\n\ @seealso{addpath, rmpath, genpath, pathdef, savepath, pathsep}\n\ @end deftypefn") | |
DEFUN (addpath, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} addpath (@var{dir1}, @dots{})\n\ @deftypefnx {Built-in Function} {} addpath (@var{dir1}, @dots{}, @var{option})\n\ Add @var{dir1}, @dots{} to the current function search path. If\n\ @var{option} is @samp{\"-begin\"} or 0 (the default), prepend the\n\ directory name to the current path. If @var{option} is @samp{\"-end\"}\n\ or 1, append the directory name to the current path.\n\ Directories added to the path must exist.\n\ @seealso{path, rmpath, genpath, pathdef, savepath, pathsep}\n\ @end deftypefn") | |
DEFUN (rmpath, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} rmpath (@var{dir1}, @dots{})\n\ Remove @var{dir1}, @dots{} from the current function search path.\n\ \n\ @seealso{path, addpath, genpath, pathdef, savepath, pathsep}\n\ @end deftypefn") |
DEFUN | ( | rmpath | , | |
args | , | |||
nargout | ||||
) |
DEFUN | ( | addpath | , | |
args | , | |||
nargout | ||||
) |
DEFUN | ( | path | , | |
args | , | |||
nargout | ||||
) |
DEFUN | ( | __pathorig__ | ) |
DEFUN | ( | restoredefaultpath | ) |
DEFUN | ( | command_line_path | ) |
DEFUN | ( | rehash | ) |
DEFUN | ( | genpath | , | |
args | ||||
) |
void execute_pkg_add | ( | const std::string & | dir | ) |
void execute_pkg_del | ( | const std::string & | dir | ) |
std::string genpath | ( | const std::string & | dirname, | |
const string_vector & | skip | |||
) |
load_path::dir_info::fcn_file_map_type get_fcn_files | ( | const std::string & | d | ) |
string_vector get_file_list | ( | const load_path::dir_info::fcn_file_map_type & | lst | ) |
void print_fcn_list | ( | std::ostream & | os, | |
const load_path::dir_info::fcn_file_map_type & | lst | |||
) |
void print_types | ( | std::ostream & | os, | |
int | types | |||
) |