Documentation
¶
Overview ¶
Package audit provides workspace auditing operations such as detecting non-git directories in the projects directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonRepoDir ¶
type NonRepoDir struct {
Path string
Name string
Size int64 // Total size in bytes
LastModified time.Time // Most recent modification time
FileCount int // Number of files
Summary string // Brief contents summary (e.g., "12 .go, 5 .yaml, 3 .md, 2 others")
}
NonRepoDir represents a directory that is not a git repository.
func FindNonRepoDirs ¶
func FindNonRepoDirs(rootPath string, opts Options) ([]NonRepoDir, error)
FindNonRepoDirs finds directories under rootPath that are not git repositories. It reads immediate children (respecting .katazuke index files) and returns information about each directory that is not a git repo.
Click to show internal directories.
Click to hide internal directories.