diff options
Diffstat (limited to 'src/connection/local.lisp')
-rw-r--r-- | src/connection/local.lisp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/connection/local.lisp b/src/connection/local.lisp index 2c79036..d8a6880 100644 --- a/src/connection/local.lisp +++ b/src/connection/local.lisp @@ -42,16 +42,16 @@ (declare (ignore _)) (values output exit-code))) -(defmethod connection-readfile ((connection local-connection) path) +(defmethod connection-read-file ((connection local-connection) path) (read-file-string path)) -(defmethod connection-readfile-and-remove ((connection local-connection) path) +(defmethod connection-read-and-remove-file ((connection local-connection) path) (prog1 (read-file-string path) (delete-file path))) -(defmethod connection-writefile ((connection local-connection) - path - content - mode) +(defmethod connection-write-file ((connection local-connection) + path + content + mode) ;; we cannot use UIOP:WITH-TEMPORARY-FILE etc., because those do not ensure ;; the file is only readable by us, and we might be writing a secret key (with-remote-temporary-file |