diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-02 14:06:53 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-02 14:08:56 -0700 |
commit | 159ff0bda5c67767599509313468c157118ad70e (patch) | |
tree | c53e8a3cbfbb879afa2f49407d3c8bfdb38d9aac /src/connection/shell-wrap.lisp | |
parent | 8f8c59341e7f420397f79d47af2787ca55fba07b (diff) | |
download | consfigurator-159ff0bda5c67767599509313468c157118ad70e.tar.gz |
rename READFILE, WRITEFILE, corresponding generics and some wrappers
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/shell-wrap.lisp')
-rw-r--r-- | src/connection/shell-wrap.lisp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/connection/shell-wrap.lisp b/src/connection/shell-wrap.lisp index 2867e20..51591b8 100644 --- a/src/connection/shell-wrap.lisp +++ b/src/connection/shell-wrap.lisp @@ -36,16 +36,16 @@ out (error "Could not read~:[~; and/or remove~] ~S" delete path)))) -(defmethod connection-readfile ((c shell-wrap-connection) path) +(defmethod connection-read-file ((c shell-wrap-connection) path) (%readfile c path)) -(defmethod connection-readfile-and-remove ((c shell-wrap-connection) path) +(defmethod connection-read-and-remove-file ((c shell-wrap-connection) path) (%readfile c path t)) -(defmethod connection-writefile ((conn shell-wrap-connection) - path - content - mode) +(defmethod connection-write-file ((conn shell-wrap-connection) + path + content + mode) (let ((cmd (format nil "set -e |