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

Function listFiles

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

* @returns {Promise []>}

()

Source from the content-addressed store, hash-verified

80 * @returns {Promise<Record<string, any>[]>}
81 */
82async function listFiles() {
83 const {data: filesData} = await performApiRequest('/files', {
84 method: 'GET',
85 params: {
86 limit: MAX_ITEMS_PER_PAGE,
87 },
88 });
89 return filesData.map(({data}) => data);
90}
91
92/**
93 * @param {number} fileId

Callers 3

cleanupObsoleteDocumentsFunction · 0.85
updateDocumentsFunction · 0.85
updateMkDocsConfigFunction · 0.85

Calls 1

performApiRequestFunction · 0.90

Tested by

no test coverage detected