Documentation
¶
Overview ¶
Package ingesters provides reusable data import modules for Takeout services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceFolderDetector ¶
NewServiceFolderDetector creates a detection function for a service based on folder name variants.
Example:
detector := NewServiceFolderDetector([]string{"Google Photos", "Google Foto", "Google Fotos"})
if detector("/path/to/Takeout/Google Photos") {
// Service folder detected
}
func NewServiceIngesters ¶
NewServiceIngesters returns a standard set of ingesters for a Takeout service.
Parameters:
- serviceID: unique identifier for the service (e.g., "google-photos", "youtube-music")
- detectionFunc: function that returns true if a path contains the service's data
Returns three ingesters: Folder, ZIP, and TGZ.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.