- COPYRIGHT AND LICENSE
Mojolicious::Plugin::AssetPack::Asset - AssetPack asset storage
Mojolicious::Plugin::AssetPack::Asset is storage class for assets.
This class is EXPERIMENTAL.
Boolean true if this file only exists in memory, false if stored on disk.
Either location on disk, HTTP URL or a virtual location (in case of "in_memory").
$self = $self->add_chunk($bytes);
Will store data internally, which later can be written to disk using "save".
Returns the basename of "url".
$bytes = $self->slurp;
$self = $self->->save;
This method does nothing if "in_memory" is true.
Copyright (C) 2014, Jan Henning Thorsen
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
Jan Henning Thorsen -