File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1616 (h/reset-components! )
1717 (let [root (h/file-path " /fake/repo" )
1818 ; ; Fake filesystem entries under the root
19- fake-paths [(str root " /dir" )
20- (str root " /foo.txt" )
21- (str root " /dir/nested.txt" )
22- (str root " /bar.txt" )]]
19+ fake-paths [(h/file-path ( str root " /dir" ) )
20+ (h/file-path ( str root " /foo.txt" ) )
21+ (h/file-path ( str root " /dir/nested.txt" ) )
22+ (h/file-path ( str root " /bar.txt" ) )]]
2323 (swap! (h/db* ) assoc :workspace-folders [{:uri (h/file-uri " file:///fake/repo" )}])
2424 (with-redefs [f.context/all-files-from #'f.context/all-files-from*
2525 fs/glob (fn [_root-filename pattern]
3333 [{:type " repoMap" }
3434 {:type " cursor" }
3535 {:type " directory" :path root}
36- {:type " directory" :path (str root " /dir" )}
37- {:type " file" :path (str root " /foo.txt" )}
38- {:type " file" :path (str root " /dir/nested.txt" )}
39- {:type " file" :path (str root " /bar.txt" )}
36+ {:type " directory" :path (h/file-path ( str root " /dir" ) )}
37+ {:type " file" :path (h/file-path ( str root " /foo.txt" ) )}
38+ {:type " file" :path (h/file-path ( str root " /dir/nested.txt" ) )}
39+ {:type " file" :path (h/file-path ( str root " /bar.txt" ) )}
4040 {:type " mcpResource" :uri " mcp://r1" }]
4141 (f.context/all-contexts nil (h/db* ) (h/config )))))))
4242
You can’t perform that action at this time.
0 commit comments