interface BackendProtocolV2Omit<BackendProtocolV1, "read" | "readRaw" | "grepRaw" | "lsInfo" | "globInfo">Updated protocol for pluggable memory backends.
Key differences from BackendProtocol:
read() returns ReadResult instead of a plain stringreadRaw() returns ReadRawResult instead of FileDatagrep() returns GrepResult instead of GrepMatch[] | stringls() returns LsResult instead of FileInfo[]glob() returns GlobResult instead of FileInfo[]Existing v1 backends can be adapted to this interface using adaptBackendProtocol from utils.