MCPcopy Index your code
hub / github.com/coder/coder / LoadGlobalPatterns

Function LoadGlobalPatterns

agent/agentcontainers/ignore/dir.go:117–124  ·  view source on GitHub ↗
(fileSystem afero.Fs)

Source from the content-addressed store, hash-verified

115}
116
117func LoadGlobalPatterns(fileSystem afero.Fs) ([]gitignore.Pattern, error) {
118 home, err := os.UserHomeDir()
119 if err != nil {
120 return nil, err
121 }
122
123 return loadPatterns(fileSystem, filepath.Join(home, gitconfigFile))
124}

Callers 1

Calls 1

loadPatternsFunction · 0.85

Tested by

no test coverage detected