This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Description
@eschalkargans suggested in #281 that the API of DataTree objects could more closely follow that of pathlib.PurePath objects. I think this aligning of APIs/nomenclature is a good idea. In general think it's conceptually useful to think of a DataTree object as if it were an instance of pathlib.PurePosixPath (even though the actual implementation should not work like that).
There are various methods we might want to add/change to make them more compatible:
Inspired by pathlib.PurePath:
Inspired by pathlib.Path (i.e. concrete paths):
Several of these might be useful abstractions internally, especially .joinpath, .walk, and .replace.
EDIT: Let's also document this similarity: