Liking cljdoc? Tell your friends :D

us.whitford.fulcro.rad.database-adapters.git.start-repositories

Repository lifecycle management for Git adapter.

Initializes git repos from config, validates structure.

Repository lifecycle management for Git adapter.

Initializes git repos from config, validates structure.
raw docstring

entity-dirs-for-schemaclj

(entity-dirs-for-schema attributes schema-name)

Extract entity directory names from RAD attributes for a given schema. Groups by identity attribute namespace → one dir per entity type.

Extract entity directory names from RAD attributes for a given schema.
Groups by identity attribute namespace → one dir per entity type.
sourceraw docstring

start-repositoriesclj

(start-repositories config)
(start-repositories config {:keys [attributes]})

Start all git repositories described in config.

Config shape: {::gto/repositories {:knowledge {:dir "mementum/memories/" :auto-init? true}}}

Returns: {schema-name repo-map}

Throws: ExceptionInfo if git is not installed or not on PATH.

Start all git repositories described in config.

Config shape:
{::gto/repositories
 {:knowledge {:dir "mementum/memories/" :auto-init? true}}}

Returns: {schema-name repo-map}

Throws: ExceptionInfo if git is not installed or not on PATH.
sourceraw docstring

start-repository!clj

(start-repository! {:keys [dir auto-init? bare? worktrees? worktree-dir embed?
                           attributes schema]
                    :or {auto-init? true worktree-dir "worktrees"}})

Start a git repository from config. Creates directory structure, initializes git if needed.

Config: {:dir "path/to/repo", :auto-init? true} Bare: {:dir "conversations.git", :bare? true, :worktrees? true} Embed: {:dir "data/knowledge", :embed? true}

Returns repo map: {:dir string, :initialized? bool, :embed? bool} Bare repos additionally return: {:bare? true, :worktree-dir string}

Start a git repository from config.
Creates directory structure, initializes git if needed.

Config: {:dir "path/to/repo", :auto-init? true}
Bare:   {:dir "conversations.git", :bare? true, :worktrees? true}
Embed:  {:dir "data/knowledge", :embed? true}

Returns repo map: {:dir string, :initialized? bool, :embed? bool}
Bare repos additionally return: {:bare? true, :worktree-dir string}
sourceraw docstring

stop-repositoriesclj

(stop-repositories repositories)

Stop all git repositories.

Stop all git repositories.
sourceraw docstring

stop-repository!clj

(stop-repository! _repo)

Stop a git repository. No-op for git (no connections to close).

Stop a git repository. No-op for git (no connections to close).
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