MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / normalize

Function normalize

src/background/sync/onedrive.js:169–176  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

167if (config.client_id) register(OneDrive);
168
169function normalize(item) {
170 return {
171 name: item.name,
172 size: item.size,
173 uri: getURI(item.name),
174 // modified: new Date(item.lastModifiedDateTime).getTime(),
175 };
176}

Callers

nothing calls this directly

Calls 1

getURIFunction · 0.90

Tested by

no test coverage detected