Did you know ... Search Documentation:
Pack ppm -- prolog/ppm_generic.pl
PublicShow source
author
- Wouter Beek
version
- 2017-2018
 ansi_format(+Attributes:list(term), +Format:string) is det
 atom_phrase(:Dcg_0, +Atom:atom) is det
atom_phrase(:Dcg_0, -Atom:atom) is det
 compare_version(?Order:oneof([<,=,>]), @Version1, @Version2) is det
Determine or test the order between two semantic version numbers.
 directory_by_name(+Root:atom, +SubDirectories:atom) is semidet
 directory_by_name(+Root:atom, +SubDirectories:atom, -Directory:atom) is semidet
 directory_file(+Directory:atom, -File:atom) is nondet
 directory_path(+Directory:atom, -File:atom) is nondet
Non-determinisitcally enumerates the Files that are in Dir.
Arguments:
Dir- is an atom denoting a directory on the filesystem.
File- is an atomic full path specifier of a file in Dir.

The dummy files `.' and `..' are not included.

 ensure_directory_exists(+Directory:atom) is det
 ppm_dependencies(+Directory:atom, -Dependencies:ordset(dict)) is semidet
 root_directory(-Directory:atom) is det
Arguments:
Directory- is bound to the directory used to store SWI packages in.

Creates Directory in case it does not yet exist.

 repository_directory(+User:atom, +Repo:atom, -Directory:atom) is semidet
repository_directory(+User:atom, -Repo:atom, -Directory:atom) is nondet
repository_directory(-User:atom, -Repo:atom, -Directory:atom) is nondet
 user_directory(+User:atom, -Directory:atom) is det
 version(+Version:compound)// is det
version(-Version:compound)// is det
Parses/generates semantic versioning strings.
Arguments:
Version- is a compound term of the form `version(int,int,int)'.

Undocumented predicates

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

 directory_by_name(Arg1, Arg2, Arg3)
 file_by_name(Arg1, Arg2)
 file_by_name(Arg1, Arg2, Arg3)