Reference / Modules / client-react-native-fs / ReactNativeFsFile
Class: ReactNativeFsFile
client-react-native-fs.ReactNativeFsFile
Hierarchy
-
File
↳
ReactNativeFsFile
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ReactNativeFsFile(path
, name
, mimeType
): ReactNativeFsFile
Parameters
Name | Type |
---|---|
path | string |
name | string |
mimeType | MimeType |
Returns
Overrides
File.constructor
Defined in
client-react-native-fs/src/index.ts:21
Properties
mimeType
• Readonly
mimeType: MimeType
Inherited from
File.mimeType
Defined in
client/dist/ComponentFactory.d.ts:16
name
• Readonly
name: string
Inherited from
File.name
Defined in
client/dist/ComponentFactory.d.ts:15
path
• Private
path: string
Defined in
client-react-native-fs/src/index.ts:26
Methods
getHashAndSize
▸ getHashAndSize(): Promise
<HashAndSize
>
Returns
Promise
<HashAndSize
>
Overrides
File.getHashAndSize
Defined in
client-react-native-fs/src/index.ts:28
getPath
▸ getPath(): string
Returns
string