metadata

package
v0.0.0-...-880cb89 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DeltaURLsFileName is the name of the file containing delta token(s) for a
	// given endpoint. The endpoint granularity varies by service.
	DeltaURLsFileName = "delta"

	// PreviousPathFileName is the name of the file containing previous path(s) for a
	// given endpoint.
	PreviousPathFileName = "previouspath"

	PathKey  = "path"
	DeltaKey = "delta"
)

Variables

This section is empty.

Functions

func AllMetadataFileNames

func AllMetadataFileNames() []string

AllMetadataFileNames produces the standard set of filenames used to store graph metadata such as delta tokens and folderID->path references.

Types

type CatDeltaPaths

type CatDeltaPaths map[path.CategoryType]DeltaPaths

type DeltaPath

type DeltaPath struct {
	Delta string
	Path  string
}

type DeltaPaths

type DeltaPaths map[string]DeltaPath

func (DeltaPaths) AddDelta

func (dps DeltaPaths) AddDelta(k, d string)

func (DeltaPaths) AddPath

func (dps DeltaPaths) AddPath(k, p string)

Jump to

Keyboard shortcuts

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