Docs.rs
gid-core-0.3.2
gid-core 0.3.2
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
tonitangpotato
Dependencies
agentctl-auth ^0.1.0
normal
optional
anyhow ^1
normal
async-trait ^0.1
normal
optional
chrono ^0.4
normal
deunicode ^1.6
normal
dirs ^6
normal
optional
futures ^0.3
normal
optional
glob ^0.3
normal
optional
infomap-rs ^0.1.1
normal
optional
regex ^1
normal
reqwest ^0.12
normal
optional
rusqlite ^0.32
normal
optional
serde ^1
normal
serde_json ^1
normal
serde_yaml ^0.9
normal
sha2 ^0.10
normal
tokio ^1
normal
optional
tracing ^0.1
normal
tree-sitter ^0.25
normal
tree-sitter-javascript ^0.25
normal
tree-sitter-python ^0.23
normal
tree-sitter-rust ^0.24
normal
tree-sitter-typescript ^0.23
normal
walkdir ^2
normal
which ^6
normal
optional
xxhash-rust ^0.8
normal
tempfile ^3
dev
tokio ^1
dev
Versions
61.2%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module parser
gid_
core
0.3.2
Module parser
Module Items
Functions
In crate gid_
core
gid_core
Module
parser
Copy item path
Source
Functions
§
find_
graph_
file
Find the graph file in a project directory. Searches: .gid/graph.yml, .gid/graph.yaml, graph.yml, graph.yaml
find_
graph_
file_
walk_
up
Find the graph file by walking up from a starting directory. Like
git
searching for
.git/
, this walks up the directory tree until it finds a
.gid/graph.yml
(or reaches the filesystem root).
find_
project_
root
Find the
.gid/
directory by walking up from a starting directory. Returns the parent directory that contains
.gid/
, not the
.gid/
path itself.
load_
graph
Load a graph from a YAML file.
save_
graph
Save a graph to a YAML file.