Documentation ¶ Index ¶ func BuildEntriesFromContent(origin, content string, mode Mode, extract string, depth int, ...) []store.AddEntry type Mode type Options type Result func Run(repo *store.Repository, options Options) (Result, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BuildEntriesFromContent ¶ added in v1.3.8 func BuildEntriesFromContent(origin, content string, mode Mode, extract string, depth int, provider *vector.Provider) []store.AddEntry Types ¶ type Mode ¶ type Mode string const ( ModeFiles Mode = "files" ModeConversations Mode = "conversations" ) type Options ¶ type Options struct { SourceDir string Mode Mode Extract string Depth int Limit int DryRun bool SkipExisting bool RespectGitignore bool IncludeIgnored []string Provider *vector.Provider } type Result ¶ type Result struct { FilesProcessed int `json:"files_processed"` FilesSkipped int `json:"files_skipped"` EntriesAdded int `json:"entries_added"` Tags map[string]int `json:"tags"` } func Run ¶ func Run(repo *store.Repository, options Options) (Result, error) Source Files ¶ View all Source files importer.go Click to show internal directories. Click to hide internal directories.