files

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 4 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 LineIndices

func LineIndices(s []byte) []int

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

func ReadFileLines

func ReadFileLines(filename string, startLine, endLine int) ([]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