Documentation ¶
Index ¶
Constants ¶
View Source
const CheckLimitKey = "WM_CHECK_LIMIT"
Variables ¶
This section is empty.
Functions ¶
func LimitChecksEnabled ¶
func LimitChecksEnabled() bool
func SetLimitChecksEnabled ¶
func SetLimitChecksEnabled(enabled bool)
Allows limit checks to be disabled for testing.
Types ¶
type Notify ¶
type Notify interface { Close() error Add(name string) error Events() chan FileEvent Errors() chan error }
func NewWatcher ¶
type TempDir ¶
type TempDir struct {
// contains filtered or unexported fields
}
TempDir holds a temp directory and allows easy access to new temp directories.
func NewDirAtRoot ¶
NewDir creates a new TempDir at the given root.
func NewDirAtSlashTmp ¶
NewDirAtSlashTmp creates a new TempDir at /tmp
func (*TempDir) NewDeterministicDir ¶
Click to show internal directories.
Click to hide internal directories.