Revision 90f0e0b4
Von Jan Büren vor etwa 3 Jahren hinzugefügt
SL/File/Backend/Webdav.pm | ||
---|---|---|
73 | 73 |
die "no dbfile" unless $params{dbfile}; |
74 | 74 |
$main::lxdebug->message(LXDebug->DEBUG2(), "version=" .$params{version}); |
75 | 75 |
my ($path, undef, undef) = $self->webdav_path($params{dbfile}); |
76 |
die "no file found in backend" if !-f $path;
|
|
76 |
die "No file found in Backend: " . $path unless -f $path;
|
|
77 | 77 |
my @st = stat($path); |
78 | 78 |
my $dt = DateTime->from_epoch(epoch => $st[9])->clone(); |
79 | 79 |
$main::lxdebug->message(LXDebug->DEBUG2(), "dt=" .$dt); |
... | ... | |
84 | 84 |
my ($self, %params) = @_; |
85 | 85 |
die "no dbfile" unless $params{dbfile}; |
86 | 86 |
my ($path, undef, undef) = $self->webdav_path($params{dbfile}); |
87 |
die "Path not found: " . $path unless -f $path;
|
|
87 |
die "No file found in Backend: " . $path unless -f $path;
|
|
88 | 88 |
return $path; |
89 | 89 |
} |
90 | 90 |
|
Auch abrufbar als: Unified diff
F:B:Webdav $path enthält Pfad + Datei, entsprechend vereinheitlicht