Lines Matching defs:Config
116 type Config struct { struct
117 parent *Config
119 extensionEnabled bool
120 repoRoot string
121 pythonProjectRoot string
122 gazelleManifest *manifest.Manifest
124 excludedPatterns *singlylinkedlist.List
125 ignoreFiles map[string]struct{}
126 ignoreDependencies map[string]struct{}
127 validateImportStatements bool
128 coarseGrainedGeneration bool
129 libraryNamingConvention string
130 binaryNamingConvention string
131 testNamingConvention string
155 func (c *Config) Parent() *Config {
161 func (c *Config) NewChild() *Config {
180 func (c *Config) AddExcludedPattern(pattern string) {
185 func (c *Config) ExcludedPatterns() *singlylinkedlist.List {
190 func (c *Config) SetExtensionEnabled(enabled bool) {
195 func (c *Config) ExtensionEnabled() bool {
200 func (c *Config) SetPythonProjectRoot(pythonProjectRoot string) {
205 func (c *Config) PythonProjectRoot() string {
211 func (c *Config) SetGazelleManifest(gazelleManifest *manifest.Manifest) {
218 func (c *Config) FindThirdPartyDependency(modName string) (string, bool) {
249 func (c *Config) AddIgnoreFile(file string) {
255 func (c *Config) IgnoresFile(file string) bool {
280 func (c *Config) AddIgnoreDependency(dep string) {
286 func (c *Config) IgnoresDependency(dep string) bool {
307 func (c *Config) SetValidateImportStatements(validate bool) {
314 func (c *Config) ValidateImportStatements() bool {
320 func (c *Config) SetCoarseGrainedGeneration(coarseGrained bool) {
326 func (c *Config) CoarseGrainedGeneration() bool {
331 func (c *Config) SetLibraryNamingConvention(libraryNamingConvention string) {
337 func (c *Config) RenderLibraryName(packageName string) string {
342 func (c *Config) SetBinaryNamingConvention(binaryNamingConvention string) {
348 func (c *Config) RenderBinaryName(packageName string) string {
353 func (c *Config) SetTestNamingConvention(testNamingConvention string) {
359 func (c *Config) RenderTestName(packageName string) string {