fsconf

package
v3.1.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultRoot

func DefaultRoot() (path string, err error)

Types

type Locs

type Locs struct {
	Root             string
	Temp             string
	Cache            string
	Logs             string
	LogsIntegrations string

	RepoCache         string
	State             string
	Uploads           string
	UploadZips        string
	RipsrcCheckpoints string

	Backup                  string
	RipsrcCheckpointsBackup string

	ServiceRunCrashes string

	IntegrationsDefaultDir string

	// Special files
	Config2 string // new config that is populated from enroll, not for manual editing

	// LastProcessedFile stores timestamps or other data to mark last processed objects
	LastProcessedFile       string
	LastProcessedFileBackup string

	// ExportQueueFile stores exports requests
	ExportQueueFile string

	// DedupFile contains hashes of all objects sent in incrementals to avoid sending the same objects multiple times
	DedupFile string

	// CleanupDirs are directories that will be removed on every run
	CleanupDirs []string
}

func New

func New(pinpointRoot string) Locs

Jump to

Keyboard shortcuts

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