Documentation ¶
Index ¶
- func Lockedfile(lockfile string, lockType LockType, f func() error) error
- func Lookup(input string, create func(outDir string) error) (string, error)
- func UpdateMultiprocess(lockfile string, lockType LockType, datafile string, ...) error
- type Config
- func (config *Config) Dir() string
- func (config *Config) GetInfo() (Stat, error)
- func (config *Config) GetPartInfo(stat *Stat, part int)
- func (config *Config) Lookup(input string, create func(outDir string) error) (string, error)
- func (config *Config) Lookup2(input string, userCreate func(outDir string) error, useCache bool) (string, error)
- func (config *Config) TrimNow() error
- func (config *Config) TrimPeriodically() error
- type Item
- type LockType
- type Lockpair
- type Stat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lockedfile ¶ added in v0.4.0
Types ¶
type Config ¶ added in v0.4.0
type Config struct {
// contains filtered or unexported fields
}
func DefaultConfig ¶ added in v0.4.0
func (*Config) GetPartInfo ¶ added in v0.4.0
func (*Config) TrimPeriodically ¶ added in v0.4.0
type Lockpair ¶ added in v0.4.0
type Lockpair struct {
// contains filtered or unexported fields
}
func NewLockPair ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.