2

Is there any way we can check directory and files from root directory with loop process in all its sub directories. I found a code but it needs first directory but i need it to be from root directory.

this._storage = cordova.file.externalDataDirectory;
this.file.checkDir(this._storage, 'mydir').then(_ => console.log('yay')).catch(err => console.log('boooh'));

0 Answers0