# Index of values

A
add [ExtensionPath] |
add_extension [FilePath.PATH_SPECIFICATION] | See `FilePath.add_extension`
add_extension [FilePath] | Add an extension with a "." before.
add_string [FilePath_type] |
all_masks [FileUtilMode] |
apply [FileUtilMode] |
apply [FileUtil.Mode] |
B
basename [FilePath.PATH_SPECIFICATION] | See `FilePath.basename`
basename [FilePath] | Extract only the file name of a filename.
begin_string [FilePath_type] |
break_at_first [FileStringExt] | Cut in two a string, separator not included
byte_of_size [FileUtilSize] |
byte_of_size [FileUtil] | Convert size to bytes.
C
check [ExtensionPath] |
check_extension [FilePath.PATH_SPECIFICATION] | See `FilePath.check_extension`
check_extension [FilePath] | Check the extension.
chmod [FileUtilCHMOD] |
chmod [FileUtil] | Change permissions of files.
chop [ExtensionPath] |
chop_extension [FilePath.PATH_SPECIFICATION] | See `FilePath.chop_extension`
chop_extension [FilePath] | Remove extension and the trailing ".".
cmp [FileUtilCMP] |
cmp [FileUtil] | `cmp skip1 fln1 skip2 fln2` Compare files `fln1` and `fln2` starting at pos `skip1` `skip2` and returning the first octect where a difference occurs.
compare [FilePath.PATH_SPECIFICATION] | See `FilePath.compare`
compare [FilePath] | `compare fl1 fl2` Give an order between the two filename.
compile_filter [FileUtilTEST] |
concat [FilePath.PATH_SPECIFICATION] | See `FilePath.concat`
concat [FilePath] | Append a filename to a filename.
cp [FileUtilCP] |
cp [FileUtil] | Copy the hierarchy of files/directory to another destination.
current_dir [FilePath.PATH_SPECIFICATION] | See `FilePath.current_dir`
current_dir [FilePath] | Current dir.
D
dir_reader [Win32Path] |
dir_reader [UnixPath] |
dir_writer [Win32Path] |
dir_writer [UnixPath] |
dirname [FilePath.PATH_SPECIFICATION] | See `FilePath.dirname`
dirname [FilePath] | Extract the directory name of a filename.
doit [FileUtilMisc] |
du [FileUtilDU] |
du [FileUtil] | `du fln_lst` Return the amount of space of all the file which are subdir of fln_lst.
E
end_string [FilePath_type] |
extension_of_string [FilePath.PATH_SPECIFICATION] | Create an extension from a string.
F
fast_basename [UnixPath] |
fast_basename [CommonPath] |
fast_concat [UnixPath] |
fast_concat [CommonPath] |
fast_dirname [UnixPath] |
fast_dirname [CommonPath] |
fast_is_current [Win32Path] |
fast_is_current [UnixPath] |
fast_is_current [CommonPath] |
fast_is_parent [Win32Path] |
fast_is_parent [UnixPath] |
fast_is_parent [CommonPath] |
fast_is_relative [UnixPath] |
fast_is_relative [CommonPath] |
filename_of_string [FilePath.PATH_SPECIFICATION] | Create a string from a filename.
filter [FileUtilTEST] |
filter [FileUtil] | Apply a filtering pattern to a filename.
find [FileUtilStr] | See `FileUtil.find`
find [FileUtilFIND] |
find [FileUtil] | `find ~follow:fol tst fln exec accu` Descend the directory tree starting from the given filename and using the test provided.
G
get [ExtensionPath] |
get_extension [FilePath.PATH_SPECIFICATION] | See `FilePath.get_extension`
get_extension [FilePath] | Extracts the extension.
H
handle_error_gen [FileUtilMisc] |
I
identity [FilePath.PATH_SPECIFICATION] | See `FilePath.identity`
identity [FilePath] | Identity for testing the stability of implode/explode.
int_of_permission [FileUtilPermission] |
int_of_permission [FileUtil] | Return the POSIX integer permission
is_current [FilePath.PATH_SPECIFICATION] | See `FilePath.is_current`
is_current [FilePath] | Check if the filename is the current directory.
is_parent [FilePath.PATH_SPECIFICATION] | See `FilePath.is_parent`
is_parent [FilePath] | Check if the filename is the parent directory.
is_relative [FilePath.PATH_SPECIFICATION] | See `FilePath.is_relative`
is_relative [FilePath] | Check if the filename is relative to a dir or not.
is_subdir [FilePath.PATH_SPECIFICATION] | See `FilePath.is_subdir`
is_subdir [FilePath] | `is_subdir fl1 fl2` Is `fl2` a sub directory of `fl1`
is_updir [FilePath.PATH_SPECIFICATION] | See `FilePath.is_updir`
is_updir [FilePath] | `is_updir fl1 fl2` Is `fl1` a sub directory of `fl2`
is_valid [FilePath.PATH_SPECIFICATION] | See `FilePath.is_valid`
is_valid [FilePath] | Test if the filename is a valid one.
L
ls [FileUtilLS] |
ls [FileUtil] | List the content of a directory.
M
make_absolute [FilePath.PATH_SPECIFICATION] | See `FilePath.make_absolute`
make_absolute [FilePath] | Create an absolute filename from a filename relative and an absolute base filename.
make_filename [FilePath.PATH_SPECIFICATION] | See `FilePath.make_filename`
make_filename [FilePath] | Make a filename from a set of strings.
make_relative [FilePath.PATH_SPECIFICATION] | See `FilePath.make_relative`
make_relative [FilePath] | Create a filename which is relative to the base filename.
mask [FileUtilMode] |
match_compile [FileUtilStr] | Compile `FileUtil.Match` expression using `Str.regexp`
mkdir [FileUtilMKDIR] |
mkdir [FileUtil] | Create the directory which name is provided.
mv [FileUtilMV] |
mv [FileUtil] | Move files/directories to another destination.
O
of_int [FileUtilMode] |
P
parent_dir [FilePath.PATH_SPECIFICATION] | See `FilePath.parent_dir`
parent_dir [FilePath] | Upper dir.
path_length [FilePath_type] |
path_of_string [FilePath.PATH_SPECIFICATION] | See `FilePath.path_of_string`
path_of_string [FilePath] | Extract filenames from a PATH-like string.
path_reader [Win32Path] |
path_reader [UnixPath] |
path_writer [Win32Path] |
path_writer [UnixPath] |
permission_of_int [FileUtilPermission] |
permission_of_int [FileUtil] | Translate POSIX integer permission.
prevent_recursion [FileUtilMisc] |
pwd [FileUtilPWD] |
pwd [FileUtil] | Return the current dir.
R
readlink [FileUtilREADLINK] |
readlink [FileUtil] | Resolve to the real filename removing symlink.
reduce [FilePath.PATH_SPECIFICATION] | See `FilePath.reduce`
reduce [FilePath] | Return the shortest filename which is equal to the filename given.
reparent [FilePath.PATH_SPECIFICATION] | See `FilePath.reparent`
reparent [FilePath] | `reparent fln_src fln_dst fln` Return the same filename as `fln` but the root is no more `fln_src` but `fln_dst`.
replace [ExtensionPath] |
replace_extension [FilePath.PATH_SPECIFICATION] | See `FilePath.replace_extension`
replace_extension [FilePath] | Replace extension.
rm [FileUtilRM] |
rm [FileUtil] | Remove the filename provided.
S
same_file [FileUtilCP] |
size_add [FileUtilSize] |
size_add [FileUtil] | Add two sizes.
size_compare [FileUtilSize] |
size_compare [FileUtil] | Compare two sizes, using the classical compare function.
solve_dirname [FileUtilMisc] |
split [FileStringExt] | Split a string, separator not included
stat [FileUtilSTAT] |
stat [FileUtil] | `stat fln` Return information about the file (like Unix.stat) Non POSIX command.
string_of_extension [FilePath.PATH_SPECIFICATION] | Return string representation of an extension.
string_of_filename [FilePath.PATH_SPECIFICATION] | Create a filename from a string.
string_of_path [FilePath.PATH_SPECIFICATION] | See `FilePath.string_of_path`
string_of_path [FilePath] | Create a PATH-like string.
string_of_size [FileUtilSize] |
string_of_size [FileUtil] | Convert a value to a string representation.
T
test [FileUtilTEST] |
test [FileUtilStr] | See `FileUtil.test`
test [FileUtil] | Test a file.
test_exists [FileUtilTEST] |
to_string [FileUtilMode] |
to_string [FileUtil.Mode] |
touch [FileUtilTOUCH] |
touch [FileUtil] | Modify the timestamp of the given filename.
U
umask [FileUtilUMASK] |
umask [FileUtil] | Get or set the file mode creation mask.
umask_apply [FileUtilUMASK] |
umask_apply [FileUtil] | Apply umask to a given file permission.
W
which [FileUtilWHICH] |
which [FileUtil] | Try to find the executable in the PATH.