UweKeim / ZetaLongPaths

A .NET library to access files and directories with more than 260 characters length.
https://nuget.org/packages/ZetaLongPaths
MIT License
141 stars 28 forks source link

ZlpDirectoryInfo and CreateSubdirectory method #2

Closed VahidN closed 10 years ago

VahidN commented 10 years ago

Hi, ZlpDirectoryInfo.CreateSubdirectory method is missing. It can be implemented this way:

        public ZlpDirectoryInfo CreateSubdirectory(string name)
        {
            var path = ZlpPathHelper.Combine(_path, name);
            ZlpIOHelper.CreateDirectory(path);
            return new ZlpDirectoryInfo(path);
        }
UweKeim commented 10 years ago

I've implemented this. Will update soon.