aboutsummaryrefslogtreecommitdiff
path: root/stage1/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stage1/main.cpp')
-rw-r--r--stage1/main.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/stage1/main.cpp b/stage1/main.cpp
index 6f2cd57fae8..b59582f88fb 100644
--- a/stage1/main.cpp
+++ b/stage1/main.cpp
@@ -5,9 +5,13 @@ int main(int argn, char **argv)
{
std::cout << "I am a builder!" << std::endl;
- get_root("/Users/spacekookie/Projects/code/libkookie/roots");
+ auto v = get_roots_for_path("/Users/spacekookie/Projects/code/libkookie/roots");
+ std::cout << "uwu! " << v.size() << std::endl;
- std::cout << "uwu!" << std::endl;
+ for (auto &entry : v) {
+ std::cout << entry.name << ": " << entry.path << std::endl;
+ }
+
return 0;
}