| ... | @@ -1917,7 +1917,8 @@ pub const CreateFileAtomicError = error{ | ... | @@ -1917,7 +1917,8 @@ pub const CreateFileAtomicError = error{ |
| 1917 | } || Io.Dir.PathNameError || Io.Cancelable || Io.UnexpectedError; | 1917 | } || Io.Dir.PathNameError || Io.Cancelable || Io.UnexpectedError; |
| 1918 | | 1918 | |
| 1919 | /// Create an unnamed ephemeral file that can eventually be atomically | 1919 | /// Create an unnamed ephemeral file that can eventually be atomically |
| 1920 | /// materialized into `sub_path`. | 1920 | /// materialized into `sub_path`. `sub_path` must be valid until the atomic |
| | 1921 | /// file is materialized. |
| 1921 | /// | 1922 | /// |
| 1922 | /// The returned `File.Atomic` provides API to emulate the behavior in case it | 1923 | /// The returned `File.Atomic` provides API to emulate the behavior in case it |
| 1923 | /// is not directly supported by the underlying operating system. | 1924 | /// is not directly supported by the underlying operating system. |