
storage.pl -- Store files on behalve of web clientsThe file store needs to deal with versioning and meta-data. This is achieved using gitty.pl, a git-like content-base store that lacks git's notion of a tree. I.e., all files are considered individual and have their own version.
storage_file(?File) is nondet
storage_file_extension(?File, ?Extension) is nondet
storage_file_extension_head(?File, ?Extension, -Head) is nondet
storage_file(+File, -Data, -Meta) is semidet
storage_meta_data(+File, -Meta) is semidet
storage_commit(+Hash, -Meta) is semidetHEAD or not.
storage_meta_property(+Meta, -Property)
storage_store_term(+Term, -Hash) is det
storage_load_term(+Hash, -Term) is det
use_gitty_file(+File) is det
use_gitty_file(+File, +Options) is dettrue (default), reload the file if the user saves it.
storage_fsck
storage_repack is det
storage_repack(+Options) is detfiles driver. For database drivers this is supposed to be
handled by the database.
storage_unpackfiles driver. For database drivers this is supposed to be
handled by the database.
swish_search:typeahead(+Set, +Query, -Match, +Options) is nondet[multifile]