Did you know ... Search Documentation:
Pack logicmoo_utils -- prolog/logicmoo/filesystem.pl
PublicShow source
 resolve_dir(?Dir, ?Dir) is semidet
Resolve Dir.
 add_file_search_path(+Alias, +WildCard) is det
Create an alias when it is missing
:- add_file_search_path(all_utils, '../*/util/').
 add_library_search_path(+Dir, +Patterns:list(atom)) is det
Create an autoload index INDEX.pl for Dir by scanning all files that match any of the file-patterns in Patterns. Typically, this appears as a directive in MKINDEX.pl. For example:
:- add_library_search_path('../*/util/',[ 'logicmoo_util_*.pl']).
 with_filematch(:GoalG) is semidet
Using Filematch.
 with_filematches(?G) is semidet
Using Filematches.
 expand_wfm(?G, ?GG) is semidet
Expand Wfm.
 current_filedir(?D) is semidet
Current Filedir.
 current_filesource(?F) is semidet
Current Filesource.
 filematch(?Spec, -Result) is semidet
Filematch.
 filematch_ext(+Ext, ?FileIn, -File) is semidet
Filematch Ext.
 enumerate_files(?CALL1, -Result) is semidet
Enumerate Files.
 enumerate_m_files(?M, ?Mask, ?File1) is semidet
Enumerate Module Files.
 enumerate_files0(?Mask, ?File1) is semidet
Enumerate Files Primary Helper.
 enumerate_files00(?Spec, ?Result) is semidet
Enumerate Files Primary Helper Primary Helper.
 filematch3(?RelativeTo, ?Mask, ?File1) is semidet
Filematch3.
 enumerate_files2(?Spec, ?Result) is semidet
Enumerate Files Extended Helper.
 enumerate_files1(:TermAtom, ?Result) is semidet
Enumerate Files Secondary Helper.
 expand_file_name_safe(?I, ?O) is semidet
Expand File Name Safely Paying Attention To Corner Cases.
 exists_file_or_dir(?X) is semidet
Exists File Or Dir.
 is_directory(?X) is semidet
If Is A Directory.
 concat_paths(?ParentIn, ?Child, ?Result) is semidet
Concat Paths.
 concat_paths(:TermJoined, ?Result) is semidet
Concat Paths.
 current_dirs(?DO) is semidet
Current Dirs.
 current_dirs0(?D) is semidet
Current Dirs Primary Helper.
 to_filename(?FileName, ?AFN) is semidet
Converted To Filename.
 prolog_file_dir(?Here) is semidet
Prolog File Dir.
 prolog_file_dir(?Rel, ?ABSF) is semidet
Prolog File Dir.
 in_include_file is semidet
In Include File.
 remove_search_path(?Alias, ?Abs) is semidet
Remove Search Path.
 add_to_search_path_first(?Alias, ?Abs) is semidet
Add Converted To Search Path First.
 add_to_search_path_last(?Alias, ?Abs) is semidet
Add Converted To Search Path Last.
 in_search_path(?Alias, ?Abs) is semidet
In Search Path.
 add_to_search_path(?Alias, ?Abs) is semidet
Add Converted To Search Path.
 add_to_search_path(:PRED2How, ?Alias, ?Abs) is semidet
Add Converted To Search Path.
 if_startup_script is semidet
If Startup Script.
 if_startup_script(:Goal) is semidet
If Startup Script.
 normalize_path(?Where, ?WhereF3) is semidet
Normalize Path.
 clip_dir_sep(?Where, ?WhereF2) is semidet
Clip Dir Sep.
 my_absolute_file_name(?F, ?A) is semidet
My Absolute File Name.
 join_path_if_needed(?A, ?B, ?C) is semidet
Join Path If Needed.
 locally_to_dir(?Locally, ?Dir) is semidet
Locally Converted To Dir.
 local_directory_search_combined(?X) is semidet
Local Directory Search Combined.
 local_directory_search_combined2(?PL) is semidet
Local Directory Search Combined Extended Helper.
 local_directory_search(?VALUE1) is semidet[multifile]
Local Directory Search.
 exists_dirf(?X) is semidet
Exists Dirf.
 exists_file_safe(?File) is semidet
Exists File Safely Paying Attention To Corner Cases.
 exists_directory_safe(?File) is semidet
Exists Directory Safely Paying Attention To Corner Cases.
 upcase_atom_safe(?A, ?B) is semidet
Upcase Atom Safely Paying Attention To Corner Cases.
 time_file_safe(?F, ?INNER_XML) is semidet
Time File Safely Paying Attention To Corner Cases.
 global_pathname(?B, ?A) is semidet
Global Pathname.
 relative_pathname(?Path, ?Relative) is semidet
Relative Pathname.
 canonical_pathname(?Absolute, ?AbsoluteB) is semidet
Canonical Pathname.
 join_path(?CurrentDir, ?Filename, ?Name) is semidet
Join Path.
 atom_ensure_endswtih(?A, ?E, ?A) is semidet
Atom Ensure Endswtih.
 os_to_prolog_filename(?OS, ?PL) is semidet
Outputs Converted To Prolog Filename.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 atom_concat_safe0(Arg1, Arg2, Arg3)
 enumerate_files01(Arg1, Arg2)