blob: 2e0f5c93be6eee8666a0201c7903d44d55b23f22 (
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
|
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Path.child 3 2025-04-21 "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
>> (./directory).child("file.txt")
= (./directory/file.txt)
.EE
|