MCPcopy Create free account
hub / github.com/VirtualHotBar/NetMount / filterHideStorage

Function filterHideStorage

src/controller/storage/storage.ts:98–105  ·  view source on GitHub ↗
(storageList: StorageList[])

Source from the content-addressed store, hash-verified

96}
97
98function filterHideStorage(storageList: StorageList[]) {
99 //过滤隐藏的存储
100 const data: StorageList[] = []
101 for (const item of storageList) {
102 if (!item.hide) data.push(item)
103 }
104 return data
105}
106
107//仅rclone
108async function getStorageSpace(name: string): Promise<StorageSpace> {

Callers 6

AddMount_pageFunction · 0.90
AddTask_pageFunction · 0.90
Storage_pageFunction · 0.90
ExplorerItemFunction · 0.90
Home_pageFunction · 0.90
StorageAndPathInputerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected