projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16ac79
)
store modified JSON
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 19 Jul 2011 17:45:45 +0000
(17:45 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 19 Jul 2011 17:45:45 +0000
(17:45 +0000)
lib/CloudStore/JSON.pm
patch
|
blob
|
history
diff --git
a/lib/CloudStore/JSON.pm
b/lib/CloudStore/JSON.pm
index
8e54894
..
c961350
100644
(file)
--- a/
lib/CloudStore/JSON.pm
+++ b/
lib/CloudStore/JSON.pm
@@
-29,6
+29,7
@@
sub write_file {
sub modify_existing {
warn "### VFS modify_existing $_[0]\n";
+ File::Slurp::write_file(@_);
}
sub rsync_transfer {
@@
-41,7
+42,6
@@
sub rsync_transfer {
my $type = $1;
if ( -e $path ) {
modify_existing $path;
- return $json;
}
if ( $type eq 'f' ) {