예제 #1
0
        /// <inheritdoc />
        public ulong GetFileId(AbsolutePath path)
        {
            lock (_drives)
            {
                FileObject file = FindFileObject(path);
                if (file == null)
                {
                    throw new FileNotFoundException();
                }

                return((ulong)((long)file.GetHashCode() + int.MaxValue));
            }
        }