MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / file_routes

Function file_routes

crates/opencode-server/src/routes.rs:2873–2878  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2871}
2872
2873fn file_routes() -> Router<Arc<ServerState>> {
2874 Router::new()
2875 .route("/", get(list_files))
2876 .route("/content", get(read_file))
2877 .route("/status", get(get_file_status))
2878}
2879
2880#[derive(Debug, Deserialize)]
2881pub struct ListFilesQuery {

Callers 1

routerFunction · 0.85

Calls 2

newFunction · 0.85
getFunction · 0.50

Tested by

no test coverage detected