Storage.Blob (PhoenixContribStorage v0.1.0)
View SourceSchema for storing file metadata.
A Blob represents a file stored in the storage system, containing metadata like filename, content type, size, and storage location.
Summary
Functions
Checks if the blob represents an audio file.
Creates a new blob with the given attributes.
Finds a blob by its key.
Returns a human-readable representation of the file size.
Checks if the blob represents an image.
Purges blobs that are not attached to any records and older than the given duration.
Generates a URL for the blob.
Checks if the blob represents a video.
Functions
Checks if the blob represents an audio file.
Creates a new blob with the given attributes.
Finds a blob by its key.
Returns a human-readable representation of the file size.
Checks if the blob represents an image.
Purges blobs that are not attached to any records and older than the given duration.
Generates a URL for the blob.
Checks if the blob represents a video.