- add
Entry.fromStat
thanks @trentmwillis - add
applyPatch
andcalculateAndApplyPatch
thanks @trentmwillis
- Fix remove-before-add bug. Thanks @dfreeman for excellent bug investigation
- Add
FSTree.prototype.addEntries
thanks @chriseppstein
- bump version of heimdalljs-logger
- replace direct use of debug with heimdalljs-logger
- [BREAKING] drop
unlinkdir
andlinkDir
as operations. Downstream can implement this by examining entries, eg by marking them beforehand as broccoli-merge-trees does. - [BREAKING]
unlink
andrmdir
operations are now passed the entry - [BREAKING] entries must be lexigraphicaly sorted by relative path. To do this
implicitly, use
sortAndExpand
. - [BREAKING] entries must include intermediate directories. To do this
implicitly, use
sortAndExpand
. - reworked implementation to diff via two sorted arrays
- performance improvements
- return entires as-provided, preserving user-specified metadata
- directories in patches always end with a trailing slash
- fixes various issues related to directory state transitions
- directories can now receive
change
patches if user-suppliedmeta
has property changes
- throw errors on duplicate entries (previous behavior was unspecified)
- coerce time to number before comparison
- add
:
in debug namespace for ecosystem consistency
- initial release