mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-31 04:33:40 +00:00
chore: Add the getSsl effects
This commit is contained in:
@@ -7,11 +7,11 @@ export { FileHelper } from "./fileHelper";
|
||||
/** Used to check if the file exists before hand */
|
||||
export const exists = (
|
||||
effects: T.Effects,
|
||||
props: { path: string; volumeId: string },
|
||||
props: { path: string; volumeId: string }
|
||||
) =>
|
||||
effects.metadata(props).then(
|
||||
(_) => true,
|
||||
(_) => false,
|
||||
(_) => false
|
||||
);
|
||||
|
||||
export const isKnownError = (e: unknown): e is T.KnownError =>
|
||||
|
||||
Reference in New Issue
Block a user