(p string)
| 145 | } |
| 146 | |
| 147 | func (l localResourceLoader) abs(p string) string { |
| 148 | if filepath.IsAbs(p) { |
| 149 | return p |
| 150 | } |
| 151 | return filepath.Join(l.WorkingDir, p) |
| 152 | } |
| 153 | |
| 154 | func (l localResourceLoader) Accept(_ string) bool { |
| 155 | // LocalResourceLoader is the last loader tested so it always should accept the config and try to get the content. |