Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLICommandLoader ¶ added in v0.2.0
func NewCLICommandLoader ¶ added in v0.2.0
func NewCLICommandLoader(command string, args ...string) *CLICommandLoader
type GitLoader ¶
type GitLoader struct {
// contains filtered or unexported fields
}
GitLoader loads and processes documents from a git repository on the local file system. It uses a ParserRegistry to apply language-specific chunking strategies.
func NewGit ¶
func NewGit(path string, registry parsers.ParserRegistry, opts ...GitLoaderOption) *GitLoader
type GitLoaderOption ¶ added in v0.2.0
type GitLoaderOption func(*gitLoaderOptions)
func WithIncludeExts ¶ added in v0.2.0
func WithIncludeExts(exts []string) GitLoaderOption
func WithLogger ¶ added in v0.2.0
func WithLogger(logger *slog.Logger) GitLoaderOption
type RemoteGitRepoLoader ¶ added in v0.2.0
type RemoteGitRepoLoader struct {
RepoURL string
ParserRegistry parsers.ParserRegistry
Logger *slog.Logger
}
func NewRemoteGitRepoLoader ¶ added in v0.2.0
func NewRemoteGitRepoLoader(repoURL string, registry parsers.ParserRegistry, logger *slog.Logger) *RemoteGitRepoLoader
Click to show internal directories.
Click to hide internal directories.