diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-26 14:48:37 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-27 14:29:20 -0700 |
commit | b25ded67d9e9147922f827e8ca0620a79e0d2140 (patch) | |
tree | 228c4c2e3e30a022163de0f3f2c261401dd7a60b /src/connection/local.lisp | |
parent | 856d654f7cff0e2be1feea155303486b18cc8e3f (diff) | |
download | consfigurator-b25ded67d9e9147922f827e8ca0620a79e0d2140.tar.gz |
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 <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/local.lisp')
-rw-r--r-- | src/connection/local.lisp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/connection/local.lisp b/src/connection/local.lisp index 68705b0..745c40c 100644 --- a/src/connection/local.lisp +++ b/src/connection/local.lisp @@ -66,6 +66,3 @@ root Lisp is running on, as the root Lisp's uid.")) :element-type type) (copy-stream-to-stream content stream :element-type type))))) (run-program `("mv" ,temp ,path)))) - -(defmethod connection-upload ((connection local-connection) from to) - (copy-file from to)) |