MCPcopy Create free account
hub / github.com/JamieMason/syncpack / SourceIdx

Class SourceIdx

src/sources.rs:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17/// Index into the `Sources.all` arena.
18#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
19pub struct SourceIdx(pub usize);
20
21/// Owned arena of every `Source` (package.json + pnpm yaml) in the project.
22///

Callers 5

make_instanceFunction · 0.85
add_sourceMethod · 0.85
packages_iterMethod · 0.85
iter_instancesMethod · 0.85
descriptorFunction · 0.85

Calls

no outgoing calls

Tested by 2

make_instanceFunction · 0.68
descriptorFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…