volumes

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DirMode fs.FileMode = 0755

DirMode is the default dirmode for volumes

Variables

This section is empty.

Functions

This section is empty.

Types

type Volumes

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

Volumes struct used to handle volumes CRUD

func New

func New(root string) (*Volumes, error)

New inits a new volumes struct

func (*Volumes) Create

func (v *Volumes) Create(t *task.Task) error

Create a new volume

func (*Volumes) Path

func (v *Volumes) Path(elem ...string) string

Path will return the full path for this volume

Jump to

Keyboard shortcuts

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