Files
marqdo/lib/path.mq.md
T
cflmyandCursor bfb10d172b feat(markup): adopt v0.3 as sole mapping (** code, * return)
Make prose-unified Markup the only runtime: bold segments are executable,
italic is return, params can be inferred from body/prose, with no v0.2 dual
mode. Migrate lib and structure/keywords golds; gate on tests/markup-v03.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 20:38:53 +08:00

41 lines
518 B
Markdown

---
title: lib/path
description: Path algebra (Mid M2). No I/O; OS separators.
---
## join
+ `a`
+ `b`
*> host_path_join a=`a` b=`b`*
## split
+ `path`
*> host_path_split path=`path`*
## file_name
+ `path`
*> host_path_file_name path=`path`*
## parent
+ `path`
*> host_path_parent path=`path`*
## extension
+ `path`
*> host_path_extension path=`path`*
## normalize
+ `path`
*> host_path_normalize path=`path`*
## is_absolute
+ `path`
*> host_path_is_absolute path=`path`*