Append content to file Expo filesystem

Hello, how I can append content to a file using Expo.FileSystem?
In the documentation there is only a function called Expo.FileSystem.writeAsStringAsync which writes the entire content of a file, but there isn’t a function which just appends something.
The only solution is to read the entire content of a file store it in a variable and then add to this variable new content (by appending it) and then rewrite the entire file!

Is there a clever way to do this?

Best regards,


“Is there a clever way to do this?” Lots of small files :sweat_smile::joy:

At the moment you can only read and write files in full.
This is pretty common practice in: obj-c, swift, python, and probably more…