blob: 8992d78b6c701a8b5cdae4012508cd2613f40036 (
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
|
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Path.create_directory 3 2025-04-19T14:52:07.137631 "Tomo man-pages"
.SH NAME
Path.create_directory \- Creates a new directory at the specified path with the given permissions. If any of the parent directories do not exist, they will be created as needed.
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Path.create_directory\ :\ func(path:\ Path,\ permissions\ =\ Int32(0o755)\ ->\ Void)
.fi
.SH DESCRIPTION
Creates a new directory at the specified path with the given permissions. If any of the parent directories do not exist, they will be created as needed.
.TS
allbox;
lb lb lbx lb
l l l l.
Name Type Description Default
path Path The path of the directory to create. -
permissions The permissions to set on the new directory. Int32(0o755)
.TE
.SH RETURN
Nothing.
.SH EXAMPLES
.EX
(./new_directory).create_directory()
.EE
|