PathCommon

Common operations for linked-list-like path structures

Members

Static functions

commonPrefix
typeof(this)* commonPrefix(typeof(this)*[] paths)

Returns the common prefix of paths. Assumes that if two pointers are different, they point at different paths. Destructively mutates paths as scratch space.

Meta