MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / cargoMember

Function cargoMember

__tests__/sync-module-config-change.test.ts:100–103  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

98};
99
100const cargoMember = (name: string): Files => ({
101 [`${name}/Cargo.toml`]: `[package]\nname = "${name}"\nversion = "0.1.0"\n`,
102 [`${name}/src/lib.rs`]: 'pub fn run() {}\npub struct Thing;\n',
103});
104
105const CARGO_BEFORE: Files = {
106 'Cargo.toml': '[workspace]\nmembers = ["a"]\n',

Calls

no outgoing calls

Tested by

no test coverage detected