Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/itinance/react-native-fs
/ functions
Functions
269 in github.com/itinance/react-native-fs
⨍
Functions
269
◇
Types & classes
28
↓ 34 callers
Method
reject
(Promise promise, String filepath, Exception ex)
android/src/main/java/com/rnfs/RNFSManager.java:967
↓ 32 callers
Method
Resolve
(object value)
windows/RNFS.Tests/RNFSManagerTests.cs:1603
↓ 21 callers
Function
normalizeFilePath
(path: string)
FS.common.js:30
↓ 8 callers
Method
downloadFile
(JObject options, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:426
↓ 7 callers
Method
Reject
(IPromise promise, String filepath, Exception ex)
windows/RNFS/RNFSManager.cs:603
↓ 7 callers
Method
addListener
(String eventName)
android/src/main/java/com/rnfs/RNFSManager.java:957
↓ 7 callers
Method
read
(String filepath, int length, int position, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:236
↓ 7 callers
Method
write
(string filepath, string base64Content, int position, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:131
↓ 6 callers
Method
Reject
(IPromise promise, String filepath, Exception ex)
windows/RNFS.Net46/RNFSManager.cs:577
↓ 6 callers
Method
exists
(String filepath, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:211
↓ 6 callers
Method
getOutputStream
(String filepath, boolean append)
android/src/main/java/com/rnfs/RNFSManager.java:122
↓ 6 callers
Method
read
(string filepath, int length, int position, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:198
↓ 6 callers
Method
write
(String filepath, String base64Content, int position, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:188
↓ 5 callers
Method
getInputStream
(String filepath)
android/src/main/java/com/rnfs/RNFSManager.java:104
↓ 5 callers
Method
mkdir
(string filepath, JObject options, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:412
↓ 4 callers
Method
exists
(string filepath, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:156
↓ 4 callers
Method
hash
(string filepath, string algorithm, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:227
↓ 4 callers
Method
readDir
(string directory, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:302
↓ 4 callers
Method
readFile
(string filepath, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:169
↓ 4 callers
Method
sendEvent
(ReactContext reactContext, String eventName, WritableMap params)
android/src/main/java/com/rnfs/RNFSManager.java:693
↓ 4 callers
Method
unlink
(string filepath, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:383
↓ 4 callers
Method
writeFile
(string filepath, string base64Content, JObject options, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:91
↓ 3 callers
Function
expectTrue
(condition, message)
IntegrationTests/FSTest.js:25
↓ 3 callers
Method
getFileUri
(String filepath, boolean isDirectoryAllowed)
android/src/main/java/com/rnfs/RNFSManager.java:75
↓ 3 callers
Method
getResIdentifier
(String filename)
android/src/main/java/com/rnfs/RNFSManager.java:310
↓ 3 callers
Function
readFileGeneric
* Generic function used by readFile and readFileAssets
FS.common.js:147
↓ 3 callers
Method
stat
(string filepath, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:350
↓ 3 callers
Method
touch
(string filepath, double mtime, double ctime, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:478
↓ 3 callers
Method
writeFile
(string filepath, string base64Content, JObject options, IPromise promise)
windows/RNFS/RNFSManager.cs:106
↓ 2 callers
Method
copyFile
(string filepath, string destPath, JObject options, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:287
↓ 2 callers
Method
copyInputStream
Internal method for copying that works with any InputStream @param in InputStream from assets or file @param source source path (only u
android/src/main/java/com/rnfs/RNFSManager.java:580
↓ 2 callers
Method
getContentLength
(HttpURLConnection connection)
android/src/main/java/com/rnfs/Downloader.java:154
↓ 2 callers
Function
getJobId
()
FS.common.js:25
↓ 2 callers
Method
moveFile
(string filepath, string destPath, JObject options, IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:272
↓ 2 callers
Method
onTaskCompleted
(DownloadResult res)
android/src/main/java/com/rnfs/DownloadParams.java:11
↓ 2 callers
Method
onUploadComplete
(UploadResult res)
android/src/main/java/com/rnfs/UploadParams.java:10
↓ 2 callers
Function
readDirGeneric
* Generic function used by readDir and readDirAssets
FS.common.js:180
↓ 2 callers
Method
rejectFileNotFound
(Promise promise, String filepath)
android/src/main/java/com/rnfs/RNFSManager.java:981
↓ 2 callers
Method
stat
(string filepath, IPromise promise)
windows/RNFS/RNFSManager.cs:365
↓ 2 callers
Method
stopDownload
(int jobId)
windows/RNFS.Net46/RNFSManager.cs:453
↓ 2 callers
Method
unlink
(string filepath, IPromise promise)
windows/RNFS/RNFSManager.cs:398
↓ 1 callers
Method
DeleteRecursive
(File fileOrDirectory)
android/src/main/java/com/rnfs/RNFSManager.java:665
↓ 1 callers
Method
DriveFreeBytes
(string folderName, out DiskStatus status)
windows/RNFS.Net46/DiskUtil.cs:26
↓ 1 callers
Method
appendFile
(string filepath, string base64Content, IPromise promise)
windows/RNFS/RNFSManager.cs:126
↓ 1 callers
Method
copyFile
(string filepath, string destPath, JObject options, IPromise promise)
windows/RNFS/RNFSManager.cs:302
↓ 1 callers
Method
copyFileAssets
(String assetPath, String destination, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:498
↓ 1 callers
Method
copyFileRes
(String filename, String destination, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:510
↓ 1 callers
Method
download
(DownloadParams param, DownloadResult res)
android/src/main/java/com/rnfs/Downloader.java:42
↓ 1 callers
Method
downloadFile
(JObject options, IPromise promise)
windows/RNFS/RNFSManager.cs:441
↓ 1 callers
Method
exists
(string filepath, IPromise promise)
windows/RNFS/RNFSManager.cs:171
↓ 1 callers
Method
existsAssets
(String filepath, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:521
↓ 1 callers
Method
existsRes
(String filename, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:557
↓ 1 callers
Function
expectEqual
(lhs, rhs, testname)
IntegrationTests/FSTest.js:31
↓ 1 callers
Method
getAllExternalFilesDirs
(Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:928
↓ 1 callers
Method
getCode
()
android/src/main/java/com/rnfs/IORejectionException.java:11
↓ 1 callers
Method
getFSInfo
(IPromise promise)
windows/RNFS/RNFSManager.cs:474
↓ 1 callers
Method
getFSInfo
(IPromise promise)
windows/RNFS.Net46/RNFSManager.cs:459
↓ 1 callers
Method
getInputStreamBytes
(InputStream inputStream)
android/src/main/java/com/rnfs/RNFSManager.java:136
↓ 1 callers
Method
getMimeType
(String path)
android/src/main/java/com/rnfs/Uploader.java:210
↓ 1 callers
Method
getName
()
android/src/main/java/com/rnfs/RNFSManager.java:70
↓ 1 callers
Method
getOriginalFilepath
(String filepath, boolean isDirectoryAllowed)
android/src/main/java/com/rnfs/RNFSManager.java:88
↓ 1 callers
Method
getWriteAccessByAPILevel
()
android/src/main/java/com/rnfs/RNFSManager.java:118
↓ 1 callers
Method
hash
(string filepath, string algorithm, IPromise promise)
windows/RNFS/RNFSManager.cs:242
↓ 1 callers
Method
mkdir
(string filepath, JObject options, IPromise promise)
windows/RNFS/RNFSManager.cs:427
↓ 1 callers
Method
moveFile
(string filepath, string destPath, JObject options, IPromise promise)
windows/RNFS/RNFSManager.cs:287
↓ 1 callers
Method
onDownloadBegin
(int statusCode, long contentLength, Map<String, String> headers)
android/src/main/java/com/rnfs/DownloadParams.java:15
↓ 1 callers
Method
onDownloadProgress
(long contentLength, long bytesWritten)
android/src/main/java/com/rnfs/DownloadParams.java:19
↓ 1 callers
Method
onUploadBegin
()
android/src/main/java/com/rnfs/UploadParams.java:16
↓ 1 callers
Method
onUploadProgress
(int totalBytesExpectedToSend,int totalBytesSent)
android/src/main/java/com/rnfs/UploadParams.java:13
↓ 1 callers
Method
pathForBundle
(String bundleNamed, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:880
↓ 1 callers
Method
pathForGroup
(String bundleNamed, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:885
↓ 1 callers
Method
read
(string filepath, int length, int position, IPromise promise)
windows/RNFS/RNFSManager.cs:213
↓ 1 callers
Method
readDir
(string directory, IPromise promise)
windows/RNFS/RNFSManager.cs:317
↓ 1 callers
Method
readFile
(string filepath, IPromise promise)
windows/RNFS/RNFSManager.cs:184
↓ 1 callers
Method
rejectFileIsDirectory
(Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:985
↓ 1 callers
Function
runTestCase
(description, fn)
IntegrationTests/FSTest.js:20
↓ 1 callers
Method
scanFile
(String path, final Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:940
↓ 1 callers
Method
setReadable
(String filepath, Boolean readable, Boolean ownerOnly, Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:611
↓ 1 callers
Method
stop
()
android/src/main/java/com/rnfs/Uploader.java:222
↓ 1 callers
Method
stop
()
android/src/main/java/com/rnfs/Downloader.java:161
↓ 1 callers
Method
stopDownload
(int jobId)
windows/RNFS/RNFSManager.cs:468
↓ 1 callers
Method
stopUpload
(int jobId)
android/src/main/java/com/rnfs/RNFSManager.java:871
↓ 1 callers
Function
testWriteAndReadFile
()
IntegrationTests/FSTest.js:42
↓ 1 callers
Method
touch
(string filepath, double mtime, double ctime, IPromise promise)
windows/RNFS/RNFSManager.cs:500
↓ 1 callers
Method
upload
(UploadParams params, UploadResult result)
android/src/main/java/com/rnfs/Uploader.java:50
↓ 1 callers
Method
uploadFiles
(final ReadableMap options, final Promise promise)
android/src/main/java/com/rnfs/RNFSManager.java:794
↓ 1 callers
Method
write
(string filepath, string base64Content, int position, IPromise promise)
windows/RNFS/RNFSManager.cs:146
Method
App
<summary> Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of ma
windows/RNFS.Tests/UnitTestApp.xaml.cs:29
Method
AssertRejectAsync
(MockPromise promise, Action<RejectException> assert)
windows/RNFS.Tests/RNFSManagerTests.cs:1513
Method
ConvertFromUnixTimestamp
(double timestamp)
windows/RNFS/RNFSManager.cs:642
Method
ConvertFromUnixTimestamp
(double timestamp)
windows/RNFS.Net46/RNFSManager.cs:604
Method
ConvertFromUnixTimestamp
(double timestamp)
windows/RNFS.Tests/RNFSManagerTests.cs:1535
Method
ConvertToUnixTimestamp
(DateTime date)
windows/RNFS/RNFSManager.cs:635
Method
ConvertToUnixTimestamp
(DateTime date)
windows/RNFS.Net46/RNFSManager.cs:597
Method
ConvertToUnixTimestamp
(DateTime date)
windows/RNFS.Tests/RNFSManagerTests.cs:1528
Method
CreateEventEmitter
(Action<string, object> onEmit)
windows/RNFS.Tests/RNFSManagerTests.cs:1543
Method
CreateJavaScriptModulesConfig
<summary> Creates the list of JavaScript modules to register with the react instance. </summary> <returns>The list of JavaScript modules.</returns>
windows/RNFS/RNFSPackage.cs:36
Method
CreateJavaScriptModulesConfig
<summary> Creates the list of JavaScript modules to register with the react instance. </summary> <returns>The list of JavaScript modules.</returns>
windows/RNFS.Net46/RNFSPackage.cs:36
Method
CreateNativeModules
<summary> Creates the list of native modules to register with the react instance. </summary> <param name="reactContext">The react application context.
windows/RNFS/RNFSPackage.cs:23
Method
CreateNativeModules
<summary> Creates the list of native modules to register with the react instance. </summary> <param name="reactContext">The react application context.
windows/RNFS.Net46/RNFSPackage.cs:23
next →
1–100 of 269, ranked by callers