mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-10-02 16:01:56 +00:00
ci(host-boundary): allow the local stat on paste/drop upload sources
#1004 stats the source of a paste or drop upload to decide whether to upload recursively. That path comes from this machine's clipboard or desktop, so it is a local read by construction.
This commit is contained in:
@@ -92,6 +92,11 @@ src/terminal/search.rs|.is_absolute()
|
||||
# can be handed a path. Always `std::env::temp_dir()` on this machine.
|
||||
src/terminal/view.rs|std::fs::create_dir_all
|
||||
src/terminal/view.rs|std::fs::write
|
||||
# The source side of a paste/drop upload into a remote pane: the paths the
|
||||
# clipboard or desktop hands over are on this machine by construction, so
|
||||
# asking whether one is a directory is a local read. The remote side of the
|
||||
# copy goes over SFTP.
|
||||
src/terminal/view.rs|std::fs::metadata
|
||||
|
||||
# Asking whether a file would be *launched* rather than shown before handing it
|
||||
# to the desktop opener. Only reachable behind `host_id.is_local()` — a path on
|
||||
|
||||
Reference in New Issue
Block a user