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

Function cargoMember

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected