(parsed: ParsedMemoryPath, virtualPath: string)
| 615 | } |
| 616 | |
| 617 | private requireFilePath(parsed: ParsedMemoryPath, virtualPath: string): MemoryScope { |
| 618 | if (parsed.scope === null || parsed.relPath === "") { |
| 619 | throw new MemoryCommandError( |
| 620 | `'${virtualPath}' is a directory; this command requires a file path under ${MEMORY_VIRTUAL_ROOT}/<scope>/` |
| 621 | ); |
| 622 | } |
| 623 | return parsed.scope; |
| 624 | } |
| 625 | |
| 626 | private emitChange( |
| 627 | ctx: MemoryScopeContext, |
no outgoing calls
no test coverage detected