code / tomo

Lines41.3K C23.7K Markdown9.7K YAML5.0K Tomo2.3K
7 others 763
Python231 Shell230 make212 INI47 Text21 SVG16 Lua6
(26 lines)
1 '\" t
2 .\" Copyright (c) 2025 Bruce Hill
3 .\" All rights reserved.
4 .\"
5 .TH Path.current_dir 3 2025-11-29 "Tomo man-pages"
6 .SH NAME
7 Path.current_dir \- get current directory
8 .SH LIBRARY
9 Tomo Standard Library
10 .SH SYNOPSIS
11 .nf
12 .BI Path.current_dir\ :\ func(->\ Path)
13 .fi
14 .SH DESCRIPTION
15 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.
18 .SH RETURN
19 The absolute path of the current directory.
21 .SH EXAMPLES
22 .EX
23 assert Path.current_dir() == (/home/user/tomo)
24 .EE
25 .SH SEE ALSO
26 .BR Tomo-Path (3)