Пример #1
0
        protected string GetPath_RW(string fileName)
        {
            FS fs_o = GetOrAdd(fileName, () => GetFSWith(fileName));

            //FS fs = getFSWith(fileName);
            if (fs_o.P == RWPerm.RO)
            {
                return(combine(fsl.Where(FS => FS.P == RWPerm.RW).First().TLD, fileName));
            }
            else
            {
                return(combine(fs_o.TLD, fileName));
            }
        }