From b25ded67d9e9147922f827e8ca0620a79e0d2140 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 26 Mar 2021 14:48:37 -0700 Subject: rework uploading data to be in terms of CONNECTION-UPLOAD Incremental updates of items of prerequisite data was not implemented, so the previous meaning of CONNECTION-UPLOAD was not achieving much. This simplifies the core implementation, should still allow connection types to implement the method to provide optimisations, and provides a way to implement copying items of prerequisite data into chroots. Signed-off-by: Sean Whitton --- src/connection/sudo.lisp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/connection/sudo.lisp') diff --git a/src/connection/sudo.lisp b/src/connection/sudo.lisp index 66e0695..5ff326d 100644 --- a/src/connection/sudo.lisp +++ b/src/connection/sudo.lisp @@ -87,6 +87,3 @@ :element-type (stream-element-type input))) input) input))) - -(defmethod connection-upload ((c sudo-connection) from to) - (connection-run c #?"cp ${from} ${to}" nil)) -- cgit v1.2.3