diff options
Diffstat (limited to 'man/man3/tomo-Path.write_unique_bytes.3')
| -rw-r--r-- | man/man3/tomo-Path.write_unique_bytes.3 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/man/man3/tomo-Path.write_unique_bytes.3 b/man/man3/tomo-Path.write_unique_bytes.3 index 077dc44a..f4a82e63 100644 --- a/man/man3/tomo-Path.write_unique_bytes.3 +++ b/man/man3/tomo-Path.write_unique_bytes.3 @@ -2,7 +2,7 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Path.write_unique_bytes 3 2025-05-17 "Tomo man-pages" +.TH Path.write_unique_bytes 3 2025-09-21 "Tomo man-pages" .SH NAME Path.write_unique_bytes \- write bytes to a uniquely named file .SH LIBRARY @@ -30,9 +30,8 @@ The path of the newly created unique file. .SH EXAMPLES .EX ->> created := (./file-XXXXXX.txt).write_unique_bytes([1, 2, 3]) -= (./file-27QHtq.txt) ->> created.read() -= [1, 2, 3] +created := (./file-XXXXXX.txt).write_unique_bytes([1, 2, 3]) +assert created == (./file-27QHtq.txt) +assert created.read() == [1, 2, 3] created.remove() .EE |
