20 lines
371 B
V
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
|
|
}
|