(path: str)
| 1249 | |
| 1250 | |
| 1251 | def _normalize_active_skill_path(path: str) -> str: |
| 1252 | fixed = path.strip().replace("\\", "/") |
| 1253 | if fixed.startswith("/a0/"): |
| 1254 | return fixed.rstrip("/") |
| 1255 | if fixed.startswith("/"): |
| 1256 | return files.normalize_a0_path(fixed).rstrip("/") |
| 1257 | return files.normalize_a0_path(files.get_abs_path(fixed)).rstrip("/") |
| 1258 | |
| 1259 | |
| 1260 | def _entry_key(entry: ActiveSkillEntry) -> str: |
no test coverage detected