deleteBriefcaseFiles MethodStatic
Delete and clean up a briefcase and all of its associated files. First, this method opens the supplied filename to determine its briefcaseId. Then, if a requestContext is supplied, it releases a BriefcaseId from iModelHub. Finally it deletes the local briefcase file and associated files (that is, all files in the same directory that start with the briefcase name).
deleteBriefcaseFiles(filePath: string, accessToken?: string): Promise<void>
Parameter | Type | Description |
---|---|---|
filePath | string | the full file name of the Briefcase to delete |
accessToken | string | for releasing the briefcaseId |
Returns - Promise
Defined in
- core/backend/src/BriefcaseManager.ts Line 308
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.