[*] Update temp path/dir filenames
This commit is contained in:
parent
f401c6f750
commit
bd83945f4d
@ -531,7 +531,7 @@ namespace Aurora::IO::FS
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
path += fmt::format("TempFile_{}", AuRNG::ReadString(128, AuRNG::ERngStringCharacters::eNumericCharacters));
|
path += fmt::format("TempFile_{}", AuRNG::ReadString(64, AuRNG::ERngStringCharacters::eAlphaNumericCharacters));
|
||||||
|
|
||||||
if (!AuFS::WriteNewFile(path, {}))
|
if (!AuFS::WriteNewFile(path, {}))
|
||||||
{
|
{
|
||||||
@ -560,7 +560,7 @@ namespace Aurora::IO::FS
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
path += fmt::format("TempDirectory_{}", AuRNG::ReadString(64, AuRNG::ERngStringCharacters::eNumericCharacters));
|
path += fmt::format("TempDirectory_{}", AuRNG::ReadString(32, AuRNG::ERngStringCharacters::eAlphaNumericCharacters));
|
||||||
|
|
||||||
if (!_MkDir(path))
|
if (!_MkDir(path))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user