MCPcopy Create free account
hub / github.com/badyun/AShare / fileInfo

Method fileInfo

utils/cloud.js:117–123  ·  view source on GitHub ↗
(file_id)

Source from the content-addressed store, hash-verified

115
116 // 获取文件夹信息
117 async fileInfo(file_id) {
118 let s = await this.http('https://api.aliyundrive.com/v2/file/get', {
119 drive_id: this.info.default_drive_id,
120 file_id: file_id
121 })
122 return s
123 }
124
125
126}

Callers 1

getFunction · 0.80

Calls 1

httpMethod · 0.80

Tested by

no test coverage detected