-
Notifications
You must be signed in to change notification settings - Fork 110
Specify non-random location for filesystem's temporary cache #266
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
Changes from all commits
af3f71f
16f9de7
9987231
244faf2
50b93d8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -198,6 +198,15 @@ Status MakeDirectory(const std::string& dir, const bool recursive); | |||||
/// \return Error status | ||||||
Status MakeTemporaryDirectory(const FileSystemType type, std::string* temp_dir); | ||||||
|
||||||
/// Create a temporary directory of the specified filesystem type | ||||||
/// in a provided location. | ||||||
/// \param type The type of the filesystem. | ||||||
/// \param dir_path The specified path. | ||||||
/// \param temp_dir Returns the path to the temporary directory. | ||||||
/// \return Error status | ||||||
Status MakeTemporaryDirectory( | ||||||
const FileSystemType type, std::string dir_path, std::string* temp_dir); | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A small thing, I think the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll make sure to check and introduce this in a follow-up pr with the bug fix. Thanks for suggestion! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
/// Delete a path. | ||||||
/// \param path The path to the directory or file. | ||||||
/// \return Error status | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.