1 write to Directory
Microsoft.AspNetCore.DataProtection (1)
Repositories\FileSystemXmlRepository.cs (1)
31
Directory
= directory ?? throw new ArgumentNullException(nameof(directory));
7 references to Directory
Microsoft.AspNetCore.DataProtection (7)
Repositories\FileSystemXmlRepository.cs (7)
37
if (ContainerUtils.IsContainer && !ContainerUtils.IsVolumeMountedFolder(
Directory
))
40
_logger.UsingEphemeralFileSystemLocationInContainer(
Directory
.FullName);
77
Directory
.Create(); // won't throw if the directory already exists
93
return
Directory
.EnumerateFileSystemInfos("*.xml", SearchOption.TopDirectoryOnly);
138
Directory
.Create(); // won't throw if the directory already exists
140
var tempFilename = Path.Combine(
Directory
.FullName, Guid.NewGuid().ToString() + ".tmp");
141
var finalFilename = Path.Combine(
Directory
.FullName, filename + ".xml");