file

package
v0.0.0-...-e9746f5 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxScanTokenSize int64 = 4 * 1024

Functions

func List

func List(path string, excludes []*regexp.Regexp) []string

func Scan

func Scan(path string, excludes []*regexp.Regexp) directory

Types

type Filehash

type Filehash struct {
	Path         string
	Checksums    []uint32
	Algo         string
	HashSize     int64
	Size         int64
	LastModified time.Time
	Hash         string
}

func NewFileHash

func NewFileHash(path string) (*Filehash, error)

Jump to

Keyboard shortcuts

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