You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, DirectoryPath and FilePath shares several properties and methods typed so can't be in the base class, an IPath<T> interface with type parameter would make it easier to write shared logic between files and directories
Methods / Properties that can be shared:
string FullPath { get; }
bool IsRelative { get; }
bool IsUNC { get; }
char Separator { get; }
string[] Segments { get; }
string ToString();
T MakeAbsolute(ICakeEnvironment environment);
T MakeAbsolute(DirectoryPath path);
T Collapse();
public T GetRelativePath(T to);
The text was updated successfully, but these errors were encountered:
Currently, DirectoryPath and FilePath shares several properties and methods typed so can't be in the base class, an
IPath<T>
interface with type parameter would make it easier to write shared logic between files and directoriesMethods / Properties that can be shared:
The text was updated successfully, but these errors were encountered: