Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / Webdav / Object.pm
index 4ecf423..e4ece79 100644 (file)
@@ -42,6 +42,10 @@ sub full_filedescriptor {
   File::Spec->catfile($self->webdav->webdav_path, $self->filename);
 }
 
+sub size {
+  ($_[0]->stat)[7];
+}
+
 sub atime {
   DateTime->from_epoch(epoch => ($_[0]->stat)[8]);
 }
@@ -132,6 +136,10 @@ Returns the version string.
 
 Returns the extension.
 
+=item C<size>
+
+wrapped stat[7]
+
 =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.
 
+=item C<full_filedescriptor>
+
+Fully qualified path to file.
+
 =back
 
 =head1 SEE ALSO