Thread
#multiplatform
    Adam Brown

    Adam Brown

    3 months ago
    Anyone have a favorite KMP library for file Io?
    j

    jw

    3 months ago
    Okio
    Adam Brown

    Adam Brown

    3 months ago
    Thanks, I was actually toying around with okio, but having issues with no
    FileSystem.SYSTEM
    available in my
    commonMain
    , even though I don't have a js source set enabled.
    j

    jw

    3 months ago
    Using 3.1.0 and have HMPP enabled in your own project (or on 1.6.21 or newer)?
    Adam Brown

    Adam Brown

    3 months ago
    ya,
    3.1.0
    and
    1.6.10
    but I have
    kotlin.mpp.enableGranularSourceSetsMetadata=true
    so HMPP should be enabled
    andylamax

    andylamax

    3 months ago
    I really like File I/O in okio, just inject your file system
    Adam Brown

    Adam Brown

    3 months ago
    ah good thought, grabbing the FILESYSTEM via an expect/actual does the trick