Skip to content

Use a GUID when creating the temp path #4645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 31, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove braces
  • Loading branch information
jwood803 committed Jan 12, 2020
commit fc636e46955300fd0d228d26ad5e2a24fdd20397
2 changes: 0 additions & 2 deletions src/Microsoft.ML.Core/Data/Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,7 @@ public Entry CreateEntry(string dir, string name)

Stream stream;
if (pathTemp != null)
{
stream = new FileStream(pathTemp, FileMode.CreateNew);
}
else
stream = new MemoryStream();

Expand Down