Example #1
0
        /// <summary>Returns the length of a file in the syncDirectory. </summary>
        public override long FileLength(string name)
        {
            CheckDirty();

            if (_inSync)
            {
                return(CacheDirectory.FileLength(name));
            }

            return(RemoteDirectory.FileLength(name, CacheDirectory.FileLength(name)));
        }