This library provides utilities to load directories content from
filesystem to XML element/3 and some utility. It's also possible load
text of selected files types (by extension).
Of interest could be the parsing of FTP command 'ls', allowing
remote browsing after process_create
with redirection of standard
output.
- dirtree(+Root, ?Xml) is det
- dirtree(+Path, +Item, ?Xml) is det
- start actual scan (need current path)
- extension_embedding_enable is det
- call before dirtree to load source text lines (not parsed)
- extensions_from_saved(-Result) is det
- search each DOM branch and extract extension
- counted_extensions(Counted) is det
- get all extensions and count each file
- get_ftp_ls_output(Stdout, Ftped)
- parse output of ftp command 'ls ...'
- dirzap(+X:atom) is det
- remove directory (content is lost of course)
- capture_attrs(+Attr, +Elem, ?Values) is det
- get all Attr=Value from attrs
- assign_path(+NoPath, -WithPath)
- assign to dirtree path attribute from root
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- dirtree(Arg1, Arg2, Arg3)
- sortree(Arg1, Arg2)
- sortree(Arg1, Arg2, Arg3)
- compare_by_attr(Arg1, Arg2, Arg3, Arg4)
- extension_to_embed(Arg1)
- source_target(Arg1, Arg2)
- get_ftp_ls_output(Arg1, Arg2, Arg3)