Utility functions for working with files in Kotlin Multiplatform
context.filesDir
, which is the app’s private internal storagecontext.cacheDir
, which is the app’s private cache directorydatabases
subdirectory in the app’s internal storagedatabases
subdirectory in the app’s Documents directory~/Library/Application Support/<app-id>/
, requiring FileKit initialization with an app ID~/Library/Caches/<app-id>/
databases
subdirectory in the application support directory~/.local/share/<app-id>/
~/Library/Application Support/<app-id>/
%APPDATA%/<app-id>/
~/.cache/<app-id>/
~/Library/Caches/<app-id>/
%LOCALAPPDATA%/<app-id>/Cache/
databases
subdirectory within filesDirwithScopedAccess
method: