Documentation ¶
Index ¶
- Variables
- func GetDevice(stat os.FileInfo) uint64
- func RealPath(path string) (ret string, err error)
- func TestRestrictedPath(t *testing.T, set SetRestrictedPath, is IsRestrictedPath)
- func TestShuffleDir(t *testing.T, shuffle ShuffleDir)
- func TestWatch(t *testing.T, watch Watch, shuffle ShuffleDir, wg *pr2.WaitGroup)
- type Def
- type EnsureDir
- type IsRestrictedPath
- type Node
- type OnInitDone
- type OnUpdatedSpec
- type SetRestrictedPath
- type ShuffleDir
- type SingleDevice
- type TapUpdatePaths
- type TrackFiles
- type Watch
- type WatchOption
- type Watcher
Constants ¶
This section is empty.
Variables ¶
View Source
var PathSeparator = string([]rune{os.PathSeparator})
Functions ¶
func TestRestrictedPath ¶
func TestRestrictedPath( t *testing.T, set SetRestrictedPath, is IsRestrictedPath, )
func TestShuffleDir ¶
func TestShuffleDir( t *testing.T, shuffle ShuffleDir, )
Types ¶
type Def ¶
type Def struct{}
func (Def) SetRestrictedPath ¶
func (_ Def) SetRestrictedPath() ( set SetRestrictedPath, is IsRestrictedPath, )
func (Def) ShuffleDir ¶
func (Def) ShuffleDir() ShuffleDir
type IsRestrictedPath ¶
type OnInitDone ¶
type OnInitDone func()
func (OnInitDone) IsWatchOption ¶
func (OnInitDone) IsWatchOption()
type OnUpdatedSpec ¶
func OnUpdated ¶
func OnUpdated(maxDelay time.Duration, fn func()) OnUpdatedSpec
func (OnUpdatedSpec) IsWatchOption ¶
func (OnUpdatedSpec) IsWatchOption()
type SetRestrictedPath ¶
type ShuffleDir ¶
type SingleDevice ¶
type SingleDevice bool
func (SingleDevice) IsWatchOption ¶
func (SingleDevice) IsWatchOption()
type TapUpdatePaths ¶
type TapUpdatePaths func([]string)
func (TapUpdatePaths) IsWatchOption ¶
func (TapUpdatePaths) IsWatchOption()
type TrackFiles ¶
type TrackFiles bool
func (TrackFiles) IsWatchOption ¶
func (TrackFiles) IsWatchOption()
type WatchOption ¶
type WatchOption interface {
IsWatchOption()
}
Click to show internal directories.
Click to hide internal directories.