utils

package
v0.0.0-...-ae3a0e2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileMD5

func FileMD5(filePath string) (string, error)

func IndexOfArray

func IndexOfArray[T string](item T, array []T) int

Types

type Watcher

type Watcher struct {
	share.WatcherGetter
	// contains filtered or unexported fields
}

func GenWatcher

func GenWatcher(conf share.WatcherGetter) *Watcher

func (*Watcher) Walk

func (w *Watcher) Walk()

func (*Watcher) Watch

func (w *Watcher) Watch()

Jump to

Keyboard shortcuts

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