Skip to content

createFileHasher — @gj-kit/expo-media

A public function from @gj-kit/expo-media/core. The signature below is taken directly from the 0.6.1 release declaration.

import { createFileHasher } from '@gj-kit/expo-media/core';
/**
* `FileSystemAdapter` 위에 base64 창 스트리밍 해시를 조립한다. 기본 `HashAdapter` 구현이다.
*
* 해시는 **원본 바이트**에 대해 계산되므로 같은 기기 사진이면 실행 간에도 값이 안정적이다
* (전신 주석 보존) — 그것이 dedup 키로 쓸 수 있는 이유다.
*/
declare function createFileHasher(input: {
readonly files: FileSystemAdapter;
}): HashAdapter;

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.

  • Package: @gj-kit/expo-media
  • Version: 0.6.1
  • Public entry: ./core
  • Source: GitHub