From 6d1d7ea0bbd0ef970e22f4c87775f95fb3b8452b Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 9 Mar 2022 16:32:17 -0700 Subject: add "local" and "remote" to the names of some exported symbols Signed-off-by: Sean Whitton --- src/connection.lisp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/connection.lisp') diff --git a/src/connection.lisp b/src/connection.lisp index 9a7584f..d5d1618 100644 --- a/src/connection.lisp +++ b/src/connection.lisp @@ -521,10 +521,10 @@ expected." (defun runlines (&rest args) (lines (apply #'run args))) -(defun test (&rest args) +(defun remote-test (&rest args) (zerop (apply #'mrun :for-exit "test" args))) -(defun mountpointp (path) +(defun remote-mount-point-p (path) "Is PATH a mount point? Uses mountpoint(1) from util-linux, so add a property requiring OS:LINUX or a @@ -543,9 +543,9 @@ subclass to the :HOSTATTRS subroutine of properties calling this." (defun remote-exists-p (&rest paths) "Does each of PATHS exists? PATH may be any kind of file, including directories." - (apply #'test (loop for path on paths - nconc (list "-e" (car path)) - when (cdr path) collect "-a"))) + (apply #'remote-test (loop for path on paths + nconc (list "-e" (car path)) + when (cdr path) collect "-a"))) (defun remote-file-stats (path) "Get the numeric mode, size in bytes and mtime of PATH, or NIL if it does not -- cgit v1.2.3