The 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.
GET
, POST
, PUT
and DELETE
.409
Conflict
pagefollow(DocID, ProfileID, [update,chat])
if the user
wishes to follow the file associated with Commit.The meta_data/5 version is used to add information about a fork.
gitty/File
in the config directory.HEAD
or not.true
(default), reload the file if the user saves it.files
driver. For database drivers this is supposed to be
handled by the database.files
driver. For database drivers this is supposed to be
handled by the database.pl
, swinb
or lnk
me
must be
owned by current usertime
(default), name
, author
or type
Reply is a JSON object containing count
(total matches),
cpu
(CPU time) and matches
(list of matching sources)
tag
, user
, type
, string
or regex
.
This is a poor men's solution to keep the client cache consistent. Need to think about a better way to cache searches client and/or server side.
The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
true
(default), reload the file if the user saves it.files
driver. For database drivers this is supposed to be
handled by the database.