Documentation
¶
Index ¶
- func NewFromFolderCommand(ctx context.Context, parent *cobra.Command, app *app.Application, ...) *cobra.Command
- func NewFromICloudCommand(ctx context.Context, parent *cobra.Command, app *app.Application, ...) *cobra.Command
- func NewFromPicasaCommand(ctx context.Context, parent *cobra.Command, app *app.Application, ...) *cobra.Command
- func UseICloudAlbum(m *gen.SyncMap[string, iCloudMeta], fsys fs.FS, filename string) (string, error)
- func UseICloudMemory(m *gen.SyncMap[string, iCloudMeta], fsys fs.FS, filename string) (string, error)
- func UseICloudPhotoDetails(m *gen.SyncMap[string, iCloudMeta], fsys fs.FS, filename string) error
- type AlbumFolderMode
- func (m AlbumFolderMode) MarshalJSON() ([]byte, error)
- func (m AlbumFolderMode) MarshalText() ([]byte, error)
- func (m AlbumFolderMode) MarshalYAML() (interface{}, error)
- func (m *AlbumFolderMode) Set(v string) error
- func (m AlbumFolderMode) String() string
- func (m AlbumFolderMode) Type() string
- func (m *AlbumFolderMode) UnmarshalJSON(data []byte) error
- func (m *AlbumFolderMode) UnmarshalText(data []byte) error
- func (m *AlbumFolderMode) UnmarshalYAML(unmarshal func(interface{}) error) error
- type ImportFolderCmd
- type LocalAssetWriter
- type PicasaAlbum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromFolderCommand ¶ added in v0.29.0
func NewFromICloudCommand ¶ added in v0.29.0
func NewFromPicasaCommand ¶ added in v0.29.0
func UseICloudAlbum ¶ added in v0.25.0
func UseICloudMemory ¶ added in v0.25.3
func UseICloudPhotoDetails ¶ added in v0.25.0
Example: imgName,fileChecksum,favorite,hidden,deleted,originalCreationDate,viewCount,importDate IMG_7938.HEIC,AfQj57ORF2JIumUCjO+PawZ9nqPg,no,no,no,"Saturday June 4,2022 12:11 PM GMT",10,"Saturday June 4,2022 12:11 PM GMT"
Types ¶
type AlbumFolderMode ¶
type AlbumFolderMode string
const ( FolderModeNone AlbumFolderMode = "NONE" FolderModeFolder AlbumFolderMode = "FOLDER" FolderModePath AlbumFolderMode = "PATH" )
func (AlbumFolderMode) MarshalJSON ¶ added in v0.29.0
func (m AlbumFolderMode) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (AlbumFolderMode) MarshalText ¶ added in v0.29.0
func (m AlbumFolderMode) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler
func (AlbumFolderMode) MarshalYAML ¶ added in v0.29.0
func (m AlbumFolderMode) MarshalYAML() (interface{}, error)
MarshalYAML implements yaml.Marshaler
func (*AlbumFolderMode) Set ¶
func (m *AlbumFolderMode) Set(v string) error
func (AlbumFolderMode) String ¶
func (m AlbumFolderMode) String() string
func (AlbumFolderMode) Type ¶
func (m AlbumFolderMode) Type() string
func (*AlbumFolderMode) UnmarshalJSON ¶ added in v0.29.0
func (m *AlbumFolderMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*AlbumFolderMode) UnmarshalText ¶ added in v0.29.0
func (m *AlbumFolderMode) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler
func (*AlbumFolderMode) UnmarshalYAML ¶ added in v0.29.0
func (m *AlbumFolderMode) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements yaml.Unmarshaler
type ImportFolderCmd ¶ added in v0.29.0
type ImportFolderCmd struct {
// CLI flags
UsePathAsAlbumName AlbumFolderMode
AlbumNamePathSeparator string
ImportIntoAlbum string
BannedFiles namematcher.List
Recursive bool
InclusionFlags cliflags.InclusionFlags
IgnoreSideCarFiles bool
FolderAsTags bool
TakeDateFromFilename bool
PicasaAlbum bool
ICloudTakeout bool
ICloudMemoriesAsAlbums bool
shared.StackOptions
// contains filtered or unexported fields
}
ImportFolderCmd represents the flags used for importing assets from a file system.
func (*ImportFolderCmd) Browse ¶ added in v0.29.0
func (ifc *ImportFolderCmd) Browse(ctx context.Context) chan *assets.Group
func (*ImportFolderCmd) RegisterFlags ¶ added in v0.29.0
func (ifc *ImportFolderCmd) RegisterFlags(flags *pflag.FlagSet, cmd *cobra.Command)
type LocalAssetWriter ¶
func NewLocalAssetWriter ¶
func NewLocalAssetWriter(fsys fs.FS, writeToPath string) (*LocalAssetWriter, error)
func (*LocalAssetWriter) WriteAsset ¶
func (*LocalAssetWriter) WriteGroup ¶
type PicasaAlbum ¶
func ReadPicasaIni ¶
func ReadPicasaIni(fsys fs.FS, filename string) (PicasaAlbum, error)
Click to show internal directories.
Click to hide internal directories.