(36 lines)
1 '\" t2 .\" Copyright (c) 2026 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Path.remove 3 2026-03-08 "Tomo man-pages"6 .SH NAME7 Path.remove \- remove a file or directory8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Path.remove\ :\ func(path:\ Path,\ ignore_missing\ =\ no\ ->\ Result)13 .fi14 .SH DESCRIPTION15 Removes the file or directory at the specified path. A runtime error is raised if something goes wrong.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx lb23 l l l l.24 Name Type Description Default25 path Path The path to remove. -26 ignore_missing Whether to ignore errors if the file or directory does not exist. no27 .TE28 .SH RETURN29 Either `Success` or `Failure(reason)`.31 .SH EXAMPLES32 .EX33 (./file.txt).remove()!34 .EE35 .SH SEE ALSO36 .BR Tomo-Path (3)