Files
marqdo-std-fs/tests/path.mq.md
cflmy 63bceae587 migrate: own fs/file and path sources with host-authorization assertions
Move the official stdlib file and path modules to their unique source authority
without changing public paths or host authorization. Carry the pre-migration
product assertions, including the bounded read and cleanup semantics.

Refs cflmy/marqdo#9, cflmy/marqdo-std-fs#1
2026-11-26 23:30:29 +08:00

11 lines
318 B
Markdown

---
import:
path: "std:path"
---
# @exec path
## main
`return [path.连接(["a", "", "b", "c"]), path.文件名("a/b/c.txt"), path.目录名("a/b/c.txt"), path.扩展名("a/b/c.txt"), path.规范("./a//b/../c"), path.规范("/a/./b/../c"), path.规范("../a/b"), path.是否绝对("/a"), path.是否绝对("a")]`