From 19c8450aa0a9ea008a3e5fd4ec44f7c3761db663 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 7 Dec 2025 22:53:45 -0500 Subject: Switch paths to use Result return values instead of fail() --- man/man3/tomo-Path.remove.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man/man3/tomo-Path.remove.3') diff --git a/man/man3/tomo-Path.remove.3 b/man/man3/tomo-Path.remove.3 index a98b4483..70ef4a56 100644 --- a/man/man3/tomo-Path.remove.3 +++ b/man/man3/tomo-Path.remove.3 @@ -2,14 +2,14 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Path.remove 3 2025-11-29 "Tomo man-pages" +.TH Path.remove 3 2025-12-07 "Tomo man-pages" .SH NAME Path.remove \- remove a file or directory .SH LIBRARY Tomo Standard Library .SH SYNOPSIS .nf -.BI Path.remove\ :\ func(path:\ Path,\ ignore_missing\ =\ no\ ->\ Void) +.BI Path.remove\ :\ func(path:\ Path,\ ignore_missing\ =\ no\ ->\ Result) .fi .SH DESCRIPTION Removes the file or directory at the specified path. A runtime error is raised if something goes wrong. @@ -26,7 +26,7 @@ path Path The path to remove. - ignore_missing Whether to ignore errors if the file or directory does not exist. no .TE .SH RETURN -Nothing. +Either `Success` or `Failure(reason)`. .SH EXAMPLES .EX -- cgit v1.2.3