MemoryFileSystem — @gj-kit/expo-media
A public interface from @gj-kit/expo-media/testing. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { MemoryFileSystem } from '@gj-kit/expo-media/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface MemoryFileSystem extends FileSystemAdapter, FileDownloadAdapter, DurableFileStoreAdapter { readonly calls: FakeCallLog; /** 현재 존재하는 파일 uri 전량(정렬됨). 스테이징 누수 검증의 직접 증거다(§7 하드닝 7). */ list(): readonly string[]; /** 파일 바이트를 그대로 읽는다. 없으면 `null`. 업로드된 바이트 대조에 쓴다. */ read(uri: string): Uint8Array | null; /** 파일을 심는다. 테스트 도중 상태를 바꿔야 하는 경우(재시도 시나리오)를 위해 열어 둔다. */ write(uri: string, bytes: Uint8Array): void;}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-media - Version:
0.6.1 - Public entry:
./testing - Source: GitHub