Expand description
travsr-core — graph primitives for the Travsr code-intelligence daemon.
This crate defines the foundational data model: Kythe-style VNames, node identifiers, edges, and the multiplex graph types that every other Travsr crate builds on. It has zero dependencies on any other internal Travsr crate by design (see crate dependency rules in CLAUDE.md).
Structs§
- Edge
- A directed, typed edge between two nodes.
- Node
- A node in the code graph.
- NodeId
- Opaque, content-addressed identifier for a node in the graph.
- VName
- Kythe-style globally unique identifier for a code entity.
Enums§
- Edge
Kind - The kinds of edges supported in the Travsr multiplex graph.
- Language
- Source language of a graph node.
Constants§
- SIGNATURE_
FORMAT_ VERSION - Version of the VName signature format baked into every
NodeIdhash.
Functions§
- canonical_
corpus - Derive the canonical Travsr corpus identifier from a git remote URL.
- canonical_
corpus_ local - Derive corpus for a local-only repo (no git remote):
local/<basename>.