Liking cljdoc? Tell your friends :D

szew.fi.index

Cold storage.

Cold storage.
raw docstring

biggies-by-tagclj

(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.
raw docstring

create-fi!clj

(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.
raw docstring

create-indexes!clj

(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.
raw docstring

delete-by-tag!clj

(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.
raw docstring

delete-tag!clj

(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.
raw docstring

diffsclj

(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.
raw docstring

drop-fi!clj

(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!
raw docstring

drop-indexes!clj

(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.
raw docstring

dups-by-tagclj

(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.
raw docstring

entry-by-tag-pathclj

(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
raw docstring

entry-diffclj

(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}

  • db connection, source-tag and target-tag are used to lookup entry of rel-path. Tag + path combo used for lookup.
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.
raw docstring

erase-database!clj

(erase-database! db)

Remove all data from the databse.

Remove all data from the databse.
raw docstring

export-archive!clj

(export-archive! db path)

Archive database into a GZip export file.

Archive database into a GZip export file.
raw docstring

fetch-entryclj

(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).
raw docstring

html-diffsclj

(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.
raw docstring

import-archive!clj

(import-archive! db path)

Restore database from a GZip export file.

Restore database from a GZip export file.
raw docstring

insert-entries<!clj

(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.
raw docstring

insert-entry<!clj

(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.
raw docstring

list-indexclj

(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
raw docstring

list-index-by-tagclj

(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.
raw docstring

manifestsclj

(manifests db source-tag target-tag)
(manifests db source-tag target-tag advisor)

Produces diff manifest.

Produces diff manifest.
raw docstring

matchesclj

(matches db source-tag target-tag)

Produce matches manifest.

Produce matches manifest.
raw docstring

median-size-by-tagclj

(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).
raw docstring

over-size-by-tagclj

(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
raw docstring

seed!clj

(seed! db)

Try to set up application database on given connection.

Try to set up application database on given connection.
raw docstring

size-by-tag-pathclj

(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.
raw docstring

store-batched!clj

(store-batched! db batched)

Insert all entries from batched sequence. Return number of inserts.

Insert all entries from batched sequence. Return number of inserts.
raw docstring

summaryclj

(summary db)

List tag counts as vector of {:tag String :count integer}

List tag counts as vector of {:tag String :count integer}
raw docstring

super-good-adviceclj

(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).
raw docstring

tag-countclj

(tag-count db)
(tag-count db params)
(tag-count db params options & command-options)

List count for given tag.

List count for given tag.
raw docstring

tag-countsclj

(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.
raw docstring

tag-diffclj

(tag-diff db source-tag target-tag)

Returns a hash-map of rel_path := difference summary.

  • db is a database connection
  • source-tag and target-tag to generate the differences.
Returns a hash-map of rel_path := difference summary.

* db is a database connection
* source-tag and target-tag to generate the differences.
raw docstring

tag-diff-manifestclj

(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.

  • tag-diffs is a result of tag-diff
  • advisor is a function of tag-diffs entry, that will suggest action.
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.
raw docstring

tag-matchclj

(tag-match db source-tag target-tag)

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.
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.
raw docstring

tag-match-manifestclj

(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.
raw docstring

tag-v-tagclj

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close