@aws-amplify/storage
Version:
Storage category of aws-amplify
9 lines (8 loc) • 300 B
TypeScript
/**
* Validates that the path is safe for removal operations.
* Prevents deletion of dangerous paths that could affect entire buckets.
*
* @param path - The path to validate
* @throws Error if the path is considered dangerous
*/
export declare const validateRemovePath: (path: string) => void;