aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Path.child.3
blob: 7238425f6216e6bd7df08e57df8fb992b9989c5f (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-30 "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