folder

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Folder

type Folder struct {
	Path        string
	UpdateCount uint32      // counts how often the folder has been updated
	Times       []time.Time // last MaxTimesEntries updates
}

Folder entry.

func New

func New(path string, times ...time.Time) *Folder

New folder object.

type ResourceCheckerFn

type ResourceCheckerFn func(path string) bool

ResourceCheckerFn converter to ResourceChecker interface.

func CheckerFn

func CheckerFn() ResourceCheckerFn

CheckerFn returns a ResourceChecker function.

func (ResourceCheckerFn) DoesExist

func (fn ResourceCheckerFn) DoesExist(path string) bool

DoesExist implementation for ResourceCheckerFn.

Jump to

Keyboard shortcuts

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