storage

package
v0.0.0-...-63b42b0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NotInSet = "_not_in_set"
View Source
const NotInSetId = ""

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalPhoto

type LocalPhoto struct {
	PhotosetId      string
	PhotoId         string
	PhotoFilename   string
	PhotosetDirname string
}

type Storage

type Storage struct {
	Existing    map[string]*LocalPhoto
	Destination string
}

func New

func New(destination string) (*Storage, error)

func (*Storage) Filename

func (s *Storage) Filename(photosetId string, photosetTitle string, photoId string, photoTitle string, photoTakenDate string) string

func (*Storage) Has

func (s *Storage) Has(photosetId string, photoId string) bool

Jump to

Keyboard shortcuts

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