jordanlytle / SmbAbstraction

Implements the System.IO.Abstractions interfaces for interacting with the filesystem, and adds support for interacting with UNC or SMB paths
MIT License
6 stars 8 forks source link

Fix SMBPath.GetDirectoryName() #19

Closed Jo0 closed 4 years ago

Jo0 commented 4 years ago

Fix implementaion of SMBPath.GetDirectoryName()

Add RemoveLeadingAndTrailingSeperators() to PathExtensions.

Make RemoveAnySeperators() private

Replace calls to RemoveAnySeperators() to RemoveLeadingAndTrailingSeperators()

Fix call to SMBPath.GetDirectoryName in SMBFileInfo