itinance / itinance/react-native-fs
Get folder size and lenght
Open
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
How to get folder size and number of files in a folder or names of folder? I try with readDir.
` let pat2 = RNFS.DocumentDirectoryPath + '/myFolder'
RNFS.readDir(pat2)
.then((result) => {
console.log(result.size)
})
.catch((err) => {
console.log(err.message, err.code);
});`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.