ConfigPath returns the path to .codemap/config.json for the given root.
(root string)
| 199 | |
| 200 | // ConfigPath returns the path to .codemap/config.json for the given root. |
| 201 | func ConfigPath(root string) string { |
| 202 | return filepath.Join(root, ".codemap", "config.json") |
| 203 | } |
| 204 | |
| 205 | // Load reads .codemap/config.json from root. |
| 206 | // Returns zero-value ProjectConfig if the file is missing. |
no outgoing calls