utils

package
v0.0.0-...-4cc3681 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSum

type FileSum struct {
	Path, Sum string
}

func SumFile

func SumFile(path string, basePath ...string) (FileSum, error)

type FileSums

type FileSums map[string]string

func SumDir

func SumDir(dir string, opts *SumOptions) FileSums

type SumOptions

type SumOptions struct {
	Extensions []string
	BasePath   string
	Recursive  bool
}

Jump to

Keyboard shortcuts

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