tempdir

package
v0.81.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, repo *pb.Repository) (string, error)

New returns the path of a new temporary directory for use with the repository. The directory is removed with os.RemoveAll when ctx expires.

func StartCleaning added in v0.74.0

func StartCleaning()

StartCleaning starts tempdir cleanup goroutines.

Types

This section is empty.

Jump to

Keyboard shortcuts

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