aboutsummaryrefslogtreecommitdiff
path: root/src/property.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-06-07 10:13:51 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-06-07 16:09:36 -0700
commitbdaf6ae42672f4de739002f51b1add178e53aed6 (patch)
tree7749b28fbfd2cfd8a37ceee27842965507a2a19c /src/property.lisp
parent1f489eb1936921f1f029ca9543480490ca89ae67 (diff)
downloadconsfigurator-bdaf6ae42672f4de739002f51b1add178e53aed6.tar.gz
rename REMOTE-FILE-{MODE-AND-SIZE -> STATS} & also return mtime
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property.lisp')
-rw-r--r--src/property.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property.lisp b/src/property.lisp
index 3561267..2ef9f5d 100644
--- a/src/property.lisp
+++ b/src/property.lisp
@@ -541,7 +541,7 @@ apply or unapply properties.")
PATH already has the specified CONTENT and MODE."
(if (and (remote-exists-p path)
(multiple-value-bind (existing-mode existing-size)
- (remote-file-mode-and-size path)
+ (remote-file-stats path)
(and (or (not mode-supplied-p) (= mode existing-mode))
(and (>= (* 4 (length content)) existing-size)
(string= (readfile path) content)))))