[YANGTOOLS-1342] Carry java.nio.file.Path in {Yang,Yin}TextFileSchemaSource Created: 01/Oct/21 Updated: 04/Oct/21 Resolved: 04/Oct/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | YANG Filesystem |
| Description |
|
We are forcing a conversion to a Path every time we touch it, i.e. each time we do an openStream(). Since Path is more powerful, let's perform an eager translation and lug along a Path, as it is more flexible. |