/// <inheritdoc />
 public IFileInfo GetFileInfo(string subpath)
 {
     if (!StartsWithBasePath(subpath, out var physicalPath))
     {
         return(new NotFoundFileInfo(subpath));
     }
     else
     {
         return(InnerProvider.GetFileInfo(physicalPath));
     }
 }
예제 #2
0
        /// <inheritdoc />
        public IFileInfo GetFileInfo(string subpath)
        {
            var modifiedSub = NormalizePath(subpath);

            if (!StartsWithBasePath(modifiedSub, out var physicalPath))
            {
                return(new NotFoundFileInfo(subpath));
            }
            else
            {
                return(InnerProvider.GetFileInfo(physicalPath.Value));
            }
        }