/// <inheritdoc /> public IFileInfo GetFileInfo(string subpath) { if (!StartsWithBasePath(subpath, out var physicalPath)) { return(new NotFoundFileInfo(subpath)); } else { return(InnerProvider.GetFileInfo(physicalPath)); } }
/// <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)); } }