Skip to main content

Manage & Fetch FileSystem's Files/Directories

Manage & Fetch FileSystem's Files/Directories

Use this component to pick files from the filesystem.

To get started using it, you must use KmpFileSystem. All functions are thread safe and main thread safe.

Below are the functions available:


_5
KmpFileSystem.getAppDirectory(): String
_5
KmpFileSystem.getTempCacheDirectory(): String
_5
KmpFileSystem.getExternalStorageDirectory(): String
_5
KmpFileSystem.deleteFileAt(path: String)
_5
KmpFileSystem.createFileAt(path: String)

Any Setup Required?

For android please add this into your manifest:


_1
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />