MCPcopy Create free account
hub / github.com/appium/appium / deleteFile

Function deleteFile

scripts/crowdin-update-docs-resources.mjs:96–100  ·  view source on GitHub ↗

* @param {number} fileId * @returns {Promise }

(fileId)

Source from the content-addressed store, hash-verified

94 * @returns {Promise<void>}
95 */
96async function deleteFile(fileId) {
97 await performApiRequest(`/files/${fileId}`, {
98 method: 'DELETE',
99 });
100}
101
102/**
103 * @param {number} [parentDirectoryId]

Callers 1

cleanupObsoleteDocumentsFunction · 0.85

Calls 1

performApiRequestFunction · 0.90

Tested by

no test coverage detected