Esempio n. 1
0
        public NPath CreateDirectory()
        {
            ThrowIfNotInitialized();
            ThrowIfRelative();

            if (IsRoot)
            {
                throw new NotSupportedException("CreateDirectory is not supported on a root level directory because it would be dangerous:" + ToString());
            }

            FSWrapper.DirectoryCreate(this);
            return(this);
        }