MCPcopy Create free account
hub / github.com/csskit/csskit / binary_name

Function binary_name

packages/csskit_zed/src/lib.rs:7–12  ·  view source on GitHub ↗
(platform: zed::Os)

Source from the content-addressed store, hash-verified

5const VERSION_FILE: &str = "version.txt";
6
7fn binary_name(platform: zed::Os) -> &'static str {
8 match platform {
9 zed::Os::Windows => "csskit.exe",
10 zed::Os::Mac | zed::Os::Linux => "csskit",
11 }
12}
13
14fn asset_name(platform: zed::Os, arch: zed::Architecture) -> Result<String> {
15 Ok(format!(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected