mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 18:31:54 +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); |