mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-09 21:11:36 -07:00
Fix typo
This commit is contained in:
@@ -9,7 +9,7 @@ MAX_ATTEMPTS :: 1<<13 // Should be enough for everyone, right?
|
||||
//
|
||||
// Opens the file for reading and writing, with 0o666 permissions, and returns the new `^File`.
|
||||
// The filename is generated by taking a pattern, and adding a randomized string to the end.
|
||||
// If the pattern includes an "*", the randm string replaces the last "*".
|
||||
// If the pattern includes an "*", the random string replaces the last "*".
|
||||
// If `dir` is an empty tring, `temp_directory()` will be used.
|
||||
//
|
||||
// The caller must `close` the file once finished with.
|
||||
@@ -43,7 +43,7 @@ mkdir_temp :: make_directory_temp
|
||||
// Creates a new temporary directory in the directory `dir`, and returns the path of the new directory.
|
||||
//
|
||||
// The directory name is generated by taking a pattern, and adding a randomized string to the end.
|
||||
// If the pattern includes an "*", the randm string replaces the last "*".
|
||||
// If the pattern includes an "*", the random string replaces the last "*".
|
||||
// If `dir` is an empty tring, `temp_directory()` will be used.
|
||||
@(require_results)
|
||||
make_directory_temp :: proc(dir, pattern: string, allocator: runtime.Allocator) -> (temp_path: string, err: Error) {
|
||||
|
||||
Reference in New Issue
Block a user