What are the fileContent and content parameters to NFS write()?

The NFS write() function has two parameters, fileContent (any) and content (Buffer|String).

Why two and what is each for?

1 Like

Thank you for catching this.
Should be documenting one argument: https://github.com/maidsafe/safe_app_nodejs/blob/master/src/api/emulations/nfs.js#L132

@DGeddes Opening issue for this in repo: https://github.com/maidsafe/safe_app_nodejs/issues/289

2 Likes