MCPcopy Index your code
hub / github.com/duyet/grant-rs

github.com/duyet/grant-rs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
159 symbols 284 edges 21 files 41 documented · 26%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

RoleValidate (Interface)
(no doc) [3 implementers]
src/config/role.rs

Core symbols most depended-on inside this repo

drop_user
called by 13
src/connection.rs
random_str
called by 8
src/connection.rs
gen_password
called by 7
src/gen.rs
execute
called by 6
src/connection.rs
create_user
called by 6
src/connection.rs
escape_identifier
called by 6
src/config/sql_utils.rs
get_users
called by 4
src/connection.rs
query
called by 4
src/connection.rs

Shape

Function 96
Method 44
Class 14
Enum 4
Interface 1

Languages

Rust100%

Modules by API surface

src/connection.rs25 symbols
src/config/config_base.rs24 symbols
src/config/user.rs22 symbols
src/config/role.rs13 symbols
tests/cli-validate.rs10 symbols
src/config/sql_utils.rs8 symbols
src/config/connection.rs7 symbols
tests/cli-gen.rs6 symbols
src/config/role_table.rs6 symbols
src/apply.rs6 symbols
tests/cli-apply.rs5 symbols
src/gen.rs5 symbols

Datastores touched

postgresDatabase · 1 repos

For agents

$ claude mcp add grant-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact