You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your great job. I enjoy your application.
I decided to extend the application by developing some plugins.
I will start by developing a visual git management plugin.
In my code, I have to create file, and write data into it.
The creation works fine with fs.createFile(fileName, contents).
I also can write into the file with fs.writeFile(contents).
The problem is that writeFile replaces existing content with the new content.
Is there an option to add the new content without removing existing data ?
Thank you for your help.
The text was updated successfully, but these errors were encountered:
If it is possible to implement a nodejs fs library like code, this will be more simple to integrate external libraries, like isomorphic-git per example.
What do you think about it ?
Otherwise, I can continue using a wrapper to map functions.
In my code, I have to create file, and write data into it. The creation works fine with fs.createFile(fileName, contents). I also can write into the file with fs.writeFile(contents). The problem is that writeFile replaces existing content with the new content. Is there an option to add the new content without removing existing data ?
Thank you for your help.
You can easily implement it at your own. By reading the existing content then writing whole new content by combining old and new data
Hello,
Thank you for your great job. I enjoy your application.
I decided to extend the application by developing some plugins.
I will start by developing a visual git management plugin.
In my code, I have to create file, and write data into it.
The creation works fine with fs.createFile(fileName, contents).
I also can write into the file with fs.writeFile(contents).
The problem is that writeFile replaces existing content with the new content.
Is there an option to add the new content without removing existing data ?
Thank you for your help.
The text was updated successfully, but these errors were encountered: