sboudrias

sboudrias/detect-conflict

Small utility library that check if a new file content can be merged safely in the on-disk existing file.

JavaScript
11
1
MIT License

detect-conflict is a small utility library that checks whether new file content can be safely merged with existing on-disk file content. It is designed for developers working on file merging or synchronization tools, returning `true` if a conflict is found and `false` otherwise. The library supports both string and buffer inputs, with special handling for directories, which always return `true`.

Total donated
Undistributed
Share with your subscribers: