Documentation
¶
Index ¶
- func DeleteMetadata(ctx context.Context, logger *slog.Logger, file string) error
- func ReadMetadata[T any](ctx context.Context, logger *slog.Logger, file string) (T, error)
- func ReadRaw(ctx context.Context, logger *slog.Logger, file string) ([]byte, error)
- func WriteMetadata(ctx context.Context, logger *slog.Logger, metadata any, file string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteMetadata ¶
DeleteMetadata removes a metadata file and its directory if empty.
func ReadMetadata ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.