mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-01 04:53:43 +00:00
4 lines
230 B
TypeScript
4 lines
230 B
TypeScript
import { Effects } from "./types.ts";
|
|
|
|
/** Used to check if the file exists before hand */
|
|
export const exists = (effects: Effects, props: { path: string, volumeId: string }) => effects.metadata(props).then(_ => true, _ => false); |