vcs

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentReader

type ContentReader func(filePath string) ([]byte, error)

ContentReader is a function that reads file content given a file path. This allows the caller to control how files are read (filesystem, git, etc.)

func FilesystemContentReader

func FilesystemContentReader() ContentReader

FilesystemContentReader returns a ContentReader that reads from the filesystem.

type FileStats

type FileStats struct {
	Additions int
	Deletions int
	IsNew     bool
}

FileStats represents statistics for a file (additions and deletions)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL