Crate workset

Crate workset 

Source

Modules§

tui

Structs§

RepoPattern
Represents a pattern that matches one or more repositories. It has the format: [provider]/.
SubmoduleInfo
Represents a git submodule within a repository
Workspace
A Workspace is filesystem directory containing git repositories checked out from one or more providers. Each repository’s path matches the remote’s path, for example: /github.com/fossable/workset

Enums§

RepoStatus
Repository status information

Functions§

check_repo_status
Check repository status (commits, changes, unpushed) in a single pass
check_repo_status_and_modification_time
Check repository status and get modification time in a single repo open This is more efficient than calling check_repo_status and get_repo_modification_time separately
find_git_repositories
Recursively find “top-level” git repositories. This function will not traverse into .git directories or nested git repositories. Find all git repositories in the given path
find_submodules_in_repo
Find all submodules in a git repository by parsing the .gitmodules file
format_time_ago
Format a SystemTime as a human-readable “time ago” string
get_repo_modification_time
Get the last modification time for a repository For clean repos, use last commit time. For dirty repos, use max of commit time or dirty files.