{"modulePath":"github.com/memcode-ai/memcode","version":"v0.56.16","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package repofiles\n\nPackage repofiles enumerates the files that are actually part of a project — honoring .gitignore — so the engine never mistakes vendored, generated, cached or ignored files (node\\_modules, docker volumes, build output) for real source. It uses \\`git ls-files\\` (tracked + untracked-but-not-ignored) and falls back to a filtered filesystem walk only when the directory isn't a git repo.\n\n## Functions\n\n```go\nfunc List(ctx context.Context, root string) []string\n```\nList returns project files as slash paths relative to root, excluding anything git ignores AND anything inside a VENDORED tree (vendor/, internal/forks/, third\\_party/, …) — code that is tracked but is a checked-in third-party dependency, not this project's own source. (A first-party submodule like services/api is NOT vendored and stays — structure detection wants it.) Order is unspecified.\n\n","path":"github.com/memcode-ai/memcode/internal/repofiles","name":"repofiles","synopsis":"Package repofiles enumerates the files that are actually part of a project — honoring .gitignore — so the engine never mistakes vendored, generated, cached or ignored files (node_modules, docker volumes, build output) for real source.","isRedistributable":true}
