Module vim_commit

Source

Structs§

CommitSaver
Stores Git commit metadata for logging to Obsidian diary entries.
DiaryFileEntry

Functions§

canonical_repo_name
Returns the repository’s canonical identity for exclusion matching.
check_diary_path_exists
Verifies whether a diary file exists at the specified path.
create_diary_file
Creates a new diary file with Obsidian frontmatter and table template.
create_directories_for_new_entry
Creates all necessary parent directories for a diary file path.
current_repo_canonical_name
Returns the canonical name of the repository discovered from the current path.
current_repo_workdir_name
Returns the working-directory name of the Git repository at the current path.
get_parent_from_full_path
Extracts the parent directory from a file path.
is_repo_excluded
Reports whether a repository name is present in the exclude list.
repo_name_from_url
Extracts the repository name from a Git remote URL.
repo_workdir_name
Returns the working-directory name of a Git repository.