Esempio n. 1
0
        //parent cannot be null
        public StdFSFile(string path, Dir422 parent)
        {
            _path   = path;
            _parent = parent;

            _name = StdFSHelper.getBaseFromPath(path);
        }
Esempio n. 2
0
        public StdFSDir(string path, Dir422 parent = null)
        {
            _path   = path;
            _parent = parent;

            if (parent != null)
            {
                _name = StdFSHelper.getBaseFromPath(path);
            }
            else
            {
                _name = path;
            }
        }