[YANGTOOLS-1343] Rename concepts.Path to concepts.HierarchicalIdentifier Created: 02/Oct/21 Updated: 10/Apr/22 Resolved: 03/Oct/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0 |
| Type: | Task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Sub-Tasks: |
|
||||||||||
| Epic Link: | YANG Filesystem |
| Description |
|
concepts.Path's name clashes with java.nio.file.Path (which it already references), making it hard to work with both. The concept as such is tied to Identifier by its documentation: Paths also have the notion of containment, where one path is said to contain another path if it the data set identified by the former contains all elements of the data set represented by later. This implies a Path is also an Identifier, which it currently is not, but a survey of its implementations shows each of them is also an Identifier. Introduce a correct replacement for Path and remove it. |