MCPcopy Index your code
hub / github.com/ShareDropio/sharedrop / clearFileSystem

Function clearFileSystem

app/initializers/prerequisites.js:22–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 }
21
22 function clearFileSystem() {
23 return new Promise((resolve, reject) => {
24 // TODO: change File into a service and require it here
25 FileSystem.removeAll()
26 .then(() => {
27 resolve();
28 })
29 .catch(() => {
30 // eslint-disable-next-line prefer-promise-reject-errors
31 reject('filesystem-unavailable');
32 });
33 });
34 }
35
36 function authenticateToFirebase() {
37 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected