Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/config/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ type Context struct {
DatabaseName string `yaml:"database-name,omitempty"`

ReadSmallFileFunc func(filename string) string `yaml:"-"`

// Extra holds plugin-specific configuration.
// Each plugin uses its own key (e.g., "drupal", "isle", "wordpress").
Extra map[string]yaml.Node `yaml:"extra,omitempty"`
}

// FileReader defines the behavior needed to read small files.
Expand Down