blob: ee0ca4482e9ebdde0d73fbb88fb6460940040ff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Path.child 3 2025-11-29 "Tomo man-pages"
.SH NAME
Path.child \- append a child to a path
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Path.child\ :\ func(path:\ Path,\ child:\ Text\ ->\ Path)
.fi
.SH DESCRIPTION
Return a path that is a child of another path.
.SH ARGUMENTS
.TS
allbox;
lb lb lbx lb
l l l l.
Name Type Description Default
path Path The path of a directory. -
child Text The name of a child file or directory. -
.TE
.SH RETURN
A new path representing the child.
.SH EXAMPLES
.EX
assert (./directory).child("file.txt") == (./directory/file.txt)
.EE
.SH SEE ALSO
.BR Tomo-Path (3)
|