Initial
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
GET /rest/db/ignores
|
||||
====================
|
||||
|
||||
Takes one parameter, ``folder``, and returns the content of the
|
||||
``.stignore`` as the ``ignore`` field. A second field, ``patterns``,
|
||||
provides a compiled version of all included ignore patterns in the form
|
||||
of regular expressions. Excluded items in the ``patterns`` field have a
|
||||
nonstandard ``(?exclude)`` marker in front of the regular expression.
|
||||
|
||||
.. code:: json
|
||||
|
||||
{
|
||||
"ignore": [
|
||||
"/Backups"
|
||||
],
|
||||
"patterns": [
|
||||
"(?i)^Backups$",
|
||||
"(?i)^Backups/.*$"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user