files

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileTreeDistance

func FileTreeDistance(path1, path2 string) int

FileTreeDistance calculates distance in file tree according to FLeCCS ranking

func LengthsAndBigrams added in v0.8.1

func LengthsAndBigrams(content []byte, startLine, endLine int) (lengths []int, bigrams []strs.BigramSet)

func LineStartIndices added in v0.8.1

func LineStartIndices(s []byte) []int

LineStartIndices returns start indices of lines in the given bytes slice.

func ReadAll added in v0.5.0

func ReadAll(reader io.ReadCloser, err error) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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