(path: &FsPath, root: &FsPath)
| 2928 | } |
| 2929 | |
| 2930 | fn is_within_root(path: &FsPath, root: &FsPath) -> bool { |
| 2931 | canonicalize_within_root(path, root).is_ok() |
| 2932 | } |
| 2933 | |
| 2934 | async fn list_files(Query(query): Query<ListFilesQuery>) -> Result<Json<Vec<FileInfo>>> { |
| 2935 | let root = project_root()?; |
no test coverage detected