mirror of
https://github.com/status-im/react-native-fs.git
synced 2025-03-01 07:20:33 +00:00
Add tmp path
This commit is contained in:
parent
01d43a011a
commit
7bf7c0bca1
@ -196,6 +196,7 @@ var RNFS = {
|
||||
CachesDirectoryPath: RNFSManager.NSCachesDirectoryPath,
|
||||
DocumentDirectoryPath: RNFSManager.NSDocumentDirectoryPath,
|
||||
ExternalDirectoryPath: RNFSManager.NSExternalDirectoryPath,
|
||||
TemporaryDirectoryPathIOS: RNFSManager.NSTemporaryDirectoryPath,
|
||||
LibraryDirectoryPath: RNFSManager.NSLibraryDirectoryPath,
|
||||
PicturesDirectoryPath: RNFSManager.NSPicturesDirectoryPath
|
||||
};
|
||||
|
@ -306,6 +306,7 @@ RCT_EXPORT_METHOD(getFSInfo:(RCTResponseSenderBlock)callback)
|
||||
@"NSCachesDirectoryPath": [self getPathForDirectory:NSCachesDirectory],
|
||||
@"NSDocumentDirectoryPath": [self getPathForDirectory:NSDocumentDirectory],
|
||||
@"NSExternalDirectoryPath": [NSNull null],
|
||||
@"NSTemporaryDirectoryPatg": NSTemporaryDirectory(),
|
||||
@"NSLibraryDirectoryPath": [self getPathForDirectory:NSLibraryDirectory],
|
||||
@"NSFileTypeRegular": NSFileTypeRegular,
|
||||
@"NSFileTypeDirectory": NSFileTypeDirectory
|
||||
|
Loading…
x
Reference in New Issue
Block a user