tmpdedup

package
v0.0.0-...-535a2f3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2018 License: MIT Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dir

type Dir struct {
	// contains filtered or unexported fields
}

func TempDir

func TempDir(parent string) (dir *Dir, err error)

func (*Dir) Finish

func (dir *Dir) Finish() (err error)

func (*Dir) Get

func (dir *Dir) Get(name string, create func(string) error) (
	path string, wg *sync.WaitGroup, err error,
)

func (*Dir) TmpMan

func (dir *Dir) TmpMan() *Man

type Man

type Man struct {
	// contains filtered or unexported fields
}

func NewMan

func NewMan() *Man

func (*Man) Get

func (man *Man) Get(path string, create func() error) (
	wg *sync.WaitGroup, err error,
)

func (*Man) Len

func (man *Man) Len() int

func (*Man) Wait

func (man *Man) Wait()

Jump to

Keyboard shortcuts

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