organiser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Organiser

type Organiser struct {
	Path      string
	UseGlobal bool
}

Organiser stores information about the directory to be managed and user permissions

func New

func New(path string, useGlobal bool) (*Organiser, error)

New returns a new Organiser with the provided path and permission or an error

func (*Organiser) Run

func (o *Organiser) Run() error

Run re-organises the data directory provided according to user permission

Jump to

Keyboard shortcuts

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