UweKeim / ZetaLongPaths

A .NET library to access files and directories with more than 260 characters length.

Home Page:https://nuget.org/packages/ZetaLongPaths

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZlpDirectoryInfo and CreateSubdirectory method

VahidN opened this issue · comments

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);
        }

I've implemented this. Will update soon.