Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Explicit file handler types DiffType = "DIFF" // Explicit exported symbol handler types ExportType = "EXPORT" ConstType = "CONST" )
Variables ¶
View Source
var Config map[string]*PackageDirective
Functions ¶
func Apply ¶
func Apply(overlay map[string]*PackageDirective)
Applies the given config on top of the current configuration
func ParseConfig ¶
func ParseConfig(src []byte) (map[string]*PackageDirective, error)
Parse a given config from source
Types ¶
type ExportDirective ¶
Directive description for editting definitions that cannot be ported
If a package uses the specified definition we replace it with the contents provided here
type FileDirective ¶
Directive description for editting a specific file
These directives are used either immediately or if automated porting fails as a means for porting packages using cached (user generated) changes
type PackageDirective ¶
type PackageDirective struct { Files map[string]FileDirective Exports map[string]ExportDirective }
Directives related to a given package
Click to show internal directories.
Click to hide internal directories.