Liking cljdoc? Tell your friends :D

still.update

Snapshot management utilities for bulk updates, pruning, and review.

Provides CLI-friendly operations for managing snapshots.

Snapshot management utilities for bulk updates, pruning, and review.

Provides CLI-friendly operations for managing snapshots.
raw docstring

cli-updateclj/s

(cli-update)

CLI-friendly update command.

Enables auto-update mode for the current session and prints instructions.

CLI-friendly update command.

Enables auto-update mode for the current session and prints instructions.
sourceraw docstring

delete-all-snapshots!clj/s

(delete-all-snapshots!)

Delete all snapshots in the snapshot directory.

WARNING: This is destructive and cannot be undone!

Returns a map with:

  • :deleted-count - Number of snapshots deleted
  • :deleted - List of deleted snapshot keys
Delete all snapshots in the snapshot directory.

WARNING: This is destructive and cannot be undone!

Returns a map with:
- :deleted-count - Number of snapshots deleted
- :deleted - List of deleted snapshot keys
sourceraw docstring

disable-auto-update!clj/s

(disable-auto-update!)

Disable automatic snapshot updates.

Disable automatic snapshot updates.
sourceraw docstring

enable-auto-update!clj/s

(enable-auto-update!)

Enable automatic snapshot updates for the current session.

This sets :auto-update? to true in the runtime configuration. All subsequent snapshot mismatches will automatically update the snapshot.

Enable automatic snapshot updates for the current session.

This sets :auto-update? to true in the runtime configuration.
All subsequent snapshot mismatches will automatically update the snapshot.
sourceraw docstring

find-snap-calls-in-fileclj/s≠

clj
(find-snap-calls-in-file file-path)

Find all snap/snap! calls in a file.

Returns a sequence of maps with :type (:snap or :snap!) and :key/:line.

Find all snap/snap! calls in a file.

Returns a sequence of maps with :type (:snap or :snap!) and :key/:line.
cljs
(find-snap-calls-in-file _file-path)

Not implemented in ClojureScript.

Not implemented in ClojureScript.
source (clj)source (cljs)raw docstring

list-all-snapshotsclj/s

(list-all-snapshots)

List all snapshots in the snapshot directory.

Returns a sequence of snapshot info maps with :key, :path, and :name.

List all snapshots in the snapshot directory.

Returns a sequence of snapshot info maps with :key, :path, and :name.
sourceraw docstring

(print-summary)

Print a human-readable summary of all snapshots.

Print a human-readable summary of all snapshots.
sourceraw docstring

prune-orphaned-snapshots!clj/s

(prune-orphaned-snapshots!)

Delete snapshots that are no longer referenced in code.

This is a placeholder - actual implementation would require:

  1. Scanning all test files for snap/snap! calls
  2. Collecting all referenced snapshot keys
  3. Deleting snapshots not in that set

For now, returns a not-implemented status.

Delete snapshots that are no longer referenced in code.

This is a placeholder - actual implementation would require:
1. Scanning all test files for snap/snap! calls
2. Collecting all referenced snapshot keys
3. Deleting snapshots not in that set

For now, returns a not-implemented status.
sourceraw docstring

scan-test-directoryclj/s≠

(scan-test-directory)
clj

Scan all test files for snap calls.

Returns a set of snapshot keys that are referenced in tests.

Scan all test files for snap calls.

Returns a set of snapshot keys that are referenced in tests.
cljs

Not implemented in ClojureScript.

Not implemented in ClojureScript.
source (clj)source (cljs)raw docstring

snapshot-summaryclj/s

(snapshot-summary)

Generate a summary of all snapshots.

Returns a map with:

  • :total-count - Total number of snapshots
  • :snapshots - List of snapshot info maps
  • :snapshot-dir - Directory where snapshots are stored
Generate a summary of all snapshots.

Returns a map with:
- :total-count - Total number of snapshots
- :snapshots - List of snapshot info maps
- :snapshot-dir - Directory where snapshots are stored
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close