projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git]
/
SL
/
Webdav
/
Object.pm
diff --git
a/SL/Webdav/Object.pm
b/SL/Webdav/Object.pm
index
4ecf423
..
e4ece79
100644
(file)
--- a/
SL/Webdav/Object.pm
+++ b/
SL/Webdav/Object.pm
@@
-42,6
+42,10
@@
sub full_filedescriptor {
File::Spec->catfile($self->webdav->webdav_path, $self->filename);
}
File::Spec->catfile($self->webdav->webdav_path, $self->filename);
}
+sub size {
+ ($_[0]->stat)[7];
+}
+
sub atime {
DateTime->from_epoch(epoch => ($_[0]->stat)[8]);
}
sub atime {
DateTime->from_epoch(epoch => ($_[0]->stat)[8]);
}
@@
-132,6
+136,10
@@
Returns the version string.
Returns the extension.
Returns the extension.
+=item C<size>
+
+wrapped stat[7]
+
=item C<atime>
L<DateTime> wrapped stat[8]
=item C<atime>
L<DateTime> wrapped stat[8]
@@
-148,6
+156,10
@@
Ref to the actual data in raw encoding.
URL relative to the web base dir for download.
URL relative to the web base dir for download.
+=item C<full_filedescriptor>
+
+Fully qualified path to file.
+
=back
=head1 SEE ALSO
=back
=head1 SEE ALSO