MCPcopy Create free account
hub / github.com/chigraph/chigraph / workspaceFromChildPath

Function workspaceFromChildPath

libchigraph/src/Context.cpp:677–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675}
676
677fs::path workspaceFromChildPath(const boost::filesystem::path& path) {
678 fs::path ret = path;
679
680 // initialize workspace directory
681 // go up until it is a workspace
682 while (!ret.empty() && !fs::is_regular_file(ret / ".chigraphworkspace")) {
683 ret = ret.parent_path();
684 }
685
686 return ret; // it's ok if it's empty
687}
688
689std::string stringifyLLVMType(llvm::Type* ty) {
690 assert(ty != nullptr);

Callers 2

ContextTests.cppFile · 0.85
ContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected