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

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

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