importer

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ModeRename = "rename"
	ModeLink   = "link"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FolderReshaper

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

func NewFolderReshaper

func NewFolderReshaper() *FolderReshaper

func (*FolderReshaper) Reshape

func (fr *FolderReshaper) Reshape(folder string, mode string) error

Reshape any folder structure to our own Sha1FS. This is intended to be some form of an import operation. We move (rename) files from some source folder to our own data folder. Iff the file is known to mdb

Jump to

Keyboard shortcuts

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