files

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 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 LineIndices

func LineIndices(s []byte) []int

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

func Lines added in v0.5.0

func Lines(content []byte) []string

func ReadAll added in v0.5.0

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

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