(key, default=None, throw=False)
| 270 | |
| 271 | |
| 272 | def get_config_value(key, default=None, throw=False): |
| 273 | split = key.split(".") |
| 274 | obj = get_extension_config() |
| 275 | for s in split: |
| 276 | if s in obj: |
| 277 | obj = obj[s] |
| 278 | else: |
| 279 | if throw: |
| 280 | raise KeyError("Configuration key missing: " + key) |
| 281 | else: |
| 282 | return default |
| 283 | return obj |
| 284 | |
| 285 | |
| 286 | def is_inside_dir(root_dir, check_path): |
nothing calls this directly
no test coverage detected