Cold storage.
Cold storage.
(biggies-by-tag db)(biggies-by-tag db params)(biggies-by-tag db params options & command-options)List files over 16KiB.
List files over 16KiB.
(create-fi! db)(create-fi! db params)(create-fi! db params options & command-options)Creates file index in table of given name.
Creates file index in table of given name.
(create-indexes! db)(create-indexes! db params)(create-indexes! db params options & command-options)Create all indices on file index.
Create all indices on file index.
(delete-by-tag! db)(delete-by-tag! db params)(delete-by-tag! db params options & command-options)Deletes all entries with given tag.
Deletes all entries with given tag.
(delete-tag! db tag)Delete all entries for given tag, return number of records deleted.
Delete all entries for given tag, return number of records deleted.
(diffs db source-tag target-tag)Produce diffs as map of relative path to tag-diff entries.
Produce diffs as map of relative path to tag-diff entries.
(drop-fi! db)(drop-fi! db params)(drop-fi! db params options & command-options)Drops file index table... might need to drop-indexes! first!
Drops file index table... might need to drop-indexes! first!
(drop-indexes! db)(drop-indexes! db params)(drop-indexes! db params options & command-options)Drop all indices on file index.
Drop all indices on file index.
(dups-by-tag db)(dups-by-tag db params)(dups-by-tag db params options & command-options)List files in tag with hash happening more than once, ordered by hash.
List files in tag with hash happening more than once, ordered by hash.
(entry-by-tag-path db)(entry-by-tag-path db params)(entry-by-tag-path db params options & command-options)Return full entry by tag and path or rel_path combination
Return full entry by tag and path or rel_path combination
(entry-diff db source-tag target-tag rel-path)Compare contents of a file between tags: changed lines, delta and unidiff.
{:changed x :deltas x :unidiff x}
Compare contents of a file between tags: changed lines, delta and unidiff.
{:changed x :deltas x :unidiff x}
* db connection, source-tag and target-tag are used to lookup entry
of rel-path. Tag + path combo used for lookup.
(erase-database! db)Remove all data from the databse.
Remove all data from the databse.
(export-archive! db path)Archive database into a GZip export file.
Archive database into a GZip export file.
(fetch-entry db tag path)Get db connection, tag and path/rel_path, return entry with content split into vector of lines (if content captured, otherwise vector of single, empty string).
Get db connection, tag and path/rel_path, return entry with content split into vector of lines (if content captured, otherwise vector of single, empty string).
(html-diffs db source target)(html-diffs db source target spec)Produce string containing HTML summary of diffs present in both tags.
Produce string containing HTML summary of diffs present in both tags.
(import-archive! db path)Restore database from a GZip export file.
Restore database from a GZip export file.
(insert-entries<! db)(insert-entries<! db params)(insert-entries<! db params options & command-options)Inserts multiple entries (vectors of vals) into the FILE_INDEX table.
Inserts multiple entries (vectors of vals) into the FILE_INDEX table.
(insert-entry<! db)(insert-entry<! db params)(insert-entry<! db params options & command-options)Inserts single entry (map) into the FILE_INDEX table.
Inserts single entry (map) into the FILE_INDEX table.
(list-index db)(list-index db params)(list-index db params options & command-options)Lists all files in the index with their hashes
Lists all files in the index with their hashes
(list-index-by-tag db)(list-index-by-tag db params)(list-index-by-tag db params options & command-options)List all records indexed under tag.
List all records indexed under tag.
(manifests db source-tag target-tag)(manifests db source-tag target-tag advisor)Produces diff manifest.
Produces diff manifest.
(matches db source-tag target-tag)Produce matches manifest.
Produce matches manifest.
(median-size-by-tag db)(median-size-by-tag db params)(median-size-by-tag db params options & command-options)Give median size in tag (in bytes).
Give median size in tag (in bytes).
(over-size-by-tag db)(over-size-by-tag db params)(over-size-by-tag db params options & command-options)List files over given size
List files over given size
(seed! db)Try to set up application database on given connection.
Try to set up application database on given connection.
(size-by-tag-path db)(size-by-tag-path db params)(size-by-tag-path db params options & command-options)List total size in bytes and file count of tag.
List total size in bytes and file count of tag.
(store-batched! db batched)Insert all entries from batched sequence. Return number of inserts.
Insert all entries from batched sequence. Return number of inserts.
(summary db)List tag counts as vector of {:tag String :count integer}
List tag counts as vector of {:tag String :count integer}
(super-good-advice entry-diff)Default advisor! Get entry-diff, give Super Good Advice(TM).
Default advisor! Get entry-diff, give Super Good Advice(TM).
(tag-count db)(tag-count db params)(tag-count db params options & command-options)List count for given tag.
List count for given tag.
(tag-counts db)(tag-counts db params)(tag-counts db params options & command-options)List existing tags with file counts.
List existing tags with file counts.
(tag-diff db source-tag target-tag)Returns a hash-map of rel_path := difference summary.
Returns a hash-map of rel_path := difference summary. * db is a database connection * source-tag and target-tag to generate the differences.
(tag-diff-manifest tag-diffs)(tag-diff-manifest tag-diffs advisor)Generate a manifest of all files from source and target tags, with last modification date for entries.
Generate a manifest of all files from source and target tags, with last modification date for entries. * tag-diffs is a result of tag-diff * advisor is a function of tag-diffs entry, that will suggest action.
(tag-match db source-tag target-tag)Returns a hash-map of rel_path := tag-v-tag summary.
Returns a hash-map of rel_path := tag-v-tag summary. * db is a database connection * source-tag and target-tag to generate the differences.
(tag-match-manifest tag-matches)Generate a manifest of all files from source and target tags, with last modification date for entries.
Generate a manifest of all files from source and target tags, with last modification date for entries.
(tag-v-tag db)(tag-v-tag db params)(tag-v-tag db params options & command-options)Diff two tags on their rel_path fields. See source column for indication.
Diff two tags on their rel_path fields. See source column for indication.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |