MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / binary

Method binary

crates/openshell-cli/src/ssh.rs:49–54  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47
48impl Editor {
49 fn binary(self) -> &'static str {
50 match self {
51 Self::Vscode => "code",
52 Self::Cursor => "cursor",
53 }
54 }
55
56 fn remote_target(host_alias: &str) -> String {
57 format!("ssh-remote+{host_alias}")

Callers 1

launch_editorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected