Files
herolib/lib/develop/codewalker/factory.v
2025-08-17 11:07:26 +02:00

20 lines
371 B
V

module codewalker
@[params]
pub struct CodeWalkerArgs {
source string //content we will send to an LLM, starting from a dir
content string //content as returned from LLM
}
pub fn new(args CodeWalkerArgs) !CodeWalker {
mut cw := CodeWalker{
source: args.source
}
// Load default gitignore patterns
cw.gitignore_patterns = cw.default_gitignore()
return cw
}