- swipl
- library
- error.pl
- debug.pl
- apply.pl -- Apply predicates on a list
- lists.pl
- broadcast.pl -- Event service
- shlib.pl
- option.pl
- thread_pool.pl -- Resource bounded thread management
- gensym.pl
- settings.pl
- arithmetic.pl -- Extensible arithmetic
- main.pl -- Provide entry point for scripts
- readutil.pl -- Read utilities
- operators.pl -- Manage operators
- pairs.pl
- prolog_source.pl
- quasi_quotations.pl
- url.pl -- Analysing and constructing URL
- www_browser.pl -- Open a URL in the users browser
- prolog_colour.pl -- Prolog syntax colouring support.
- record.pl -- Access compound arguments by name
- prolog_xref.pl -- Prolog cross-referencer data collection
- occurs.pl -- Finding and counting sub-terms
- ordsets.pl -- Ordered set manipulation
- assoc.pl -- Binary associations
- ugraphs.pl
- solution_sequences.pl -- Modify solution sequences
- atom.pl -- Operations on atoms
- prolog_pack.pl
- git.pl -- Run GIT commands
- ctypes.pl -- Character code classification
- utf8.pl
- base64.pl -- Base64 encoding and decoding
- persistency.pl -- Provide persistent dynamic predicates
- pure_input.pl
- nb_set.pl
- aggregate.pl
- csv.pl -- Process CSV (Comma-Separated Values) data
- iostream.pl -- Utilities to deal with streams
- dialect.pl
- apply_macros.pl -- Goal expansion rules to avoid meta-calling
- yall.pl
- prolog_code.pl -- Utilities for reasoning about code
- dif.pl -- The dif/2 constraint
- thread.pl -- High level thread primitives
- predicate_options.pl
- rbtrees.pl -- Red black trees
- nb_rbtrees.pl
- sandbox.pl
- prolog_format.pl
- random.pl
- pprint.pl
- modules.pl -- Module utility predicates
- lazy_lists.pl
- edinburgh.pl
- prolog_clause.pl
- prolog_breakpoints.pl
- dicts.pl -- Dict utilities
- backcomp.pl -- Backward compatibility
- ansi_term.pl
- threadutil.pl -- Interactive thread utilities
- base32.pl
- prolog_debug.pl
- make.pl
- check.pl -- Consistency checking
- charsio.pl -- I/O on Lists of Character Codes
- listing.pl -- List programs and pretty print clauses
- prolog_stack.pl -- Examine the Prolog stack
- statistics.pl -- Get information about resource usage
- quintus.pl
- tableutil.pl
- optparse.pl
- date.pl
- terms.pl
- increval.pl
- tables.pl
- prolog_jiti.pl -- Just In Time Indexing (JITI) utilities
- prolog_versions.pl
- sort.pl
- codesio.pl
- intercept.pl -- Intercept and signal interface
- prolog_coverage.pl
- tty.pl
- prolog_codewalk.pl -- Prolog code walker
- edit.pl -- Editor interface
- varnumbers.pl -- Utilities for numbered terms
- explain.pl -- Describe Prolog Terms
- portray_text.pl -- Portray text
- prolog_trace.pl
- prolog_wrap.pl -- Wrapping predicates
- files.pl
- wfs.pl
- coinduction.pl -- Co-Logic Programming
- strings.pl -- String utilities
- heaps.pl
- prolog_qlfmake.pl -- Compile the library to QLF format
- hashtable.pl
- help.pl -- Text based manual
- oset.pl -- Ordered set manipulation
- prolog_profile.pl
- shell.pl -- Elementary shell commands
- prolog_config.pl -- Provide configuration information
- macros.pl -- Macro expansion
- writef.pl
- prolog_autoload.pl -- Autoload all dependencies
- qsave.pl -- Save current program as a state or executable
- zip.pl -- Access resource ZIP archives
- system.pl -- System utilities
- streams.pl -- Manage Prolog streams
- exceptions.pl
- prolog_metainference.pl -- Infer meta-predicate properties
- fastrw.pl -- Fast reading and writing of terms
- when.pl -- Conditional coroutining
- rwlocks.pl -- Read/write locks
- library
- git_ls_remote(+GitURL, -Refs, +Options) is det
- Execute
git ls-remoteagainst the remote repository to fetch references from the remote. Options processed:heads(Boolean)tags(Boolean)refs(List)
For example, to find the hash of the remote
HEAD, one can use?- git_ls_remote('git://www.swi-prolog.org/home/pl/git/pl-devel.git', Refs, [refs(['HEAD'])]). Refs = ['5d596c52aa969d88e7959f86327f5c7ff23695f3'-'HEAD'].- Arguments:
-
Refs - is a list of pairs hash-name.