1 write to Root
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFileProvider.cs (1)
63
Root
= PathUtils.EnsureTrailingSlash(fullRoot);
7 references to Root
Microsoft.Extensions.FileProviders.Physical (5)
PhysicalFileProvider.cs (5)
64
if (!Directory.Exists(
Root
))
66
throw new DirectoryNotFoundException(
Root
);
162
string root = PathUtils.EnsureTrailingSlash(Path.GetFullPath(
Root
));
238
fullPath = Path.GetFullPath(Path.Combine(
Root
, path));
255
return fullPath.StartsWith(
Root
, StringComparison.OrdinalIgnoreCase);
StaticFilesAuth (2)
Startup.cs (2)
146
return Path.Join(files.
Root
, path);
154
return Path.Join(files.
Root
, path);