nfdi4plants / ARCtrl

Library for management of Annotated Research Contexts (ARCs) using an in-memory representation and runtime-agnostic contract systems.
MIT License
11 stars 8 forks source link

`ARCtrl.Path` shadows `System.IO.Path` #398

Closed kMutagene closed 2 months ago

kMutagene commented 2 months ago

It is a common use case to open System.IO and use the Path class. However, ARCtrl also has a Path namespace, which shadows that class when opening both. I would suggest to prevent this by adding RequireQualifiedAccess.

using ARCtrl;
using System.IO

Path.Combine("A", "B")

image

Freymaurer commented 2 months ago

I renamed to ARCtrl.ArcPathHelper to still allow opening the module where needed.