Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
208 B
Markdown
18 lines
208 B
Markdown
---
|
|
title: fs read/exists
|
|
> lib/fs.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
*`ok` = > fs.exists path=hello.txt *
|
|
|
|
1. `ok`
|
|
> print text=exists
|
|
2. *
|
|
> print text=missing
|
|
|
|
*`t` = > fs.read_text path=hello.txt *
|
|
|
|
> print text=`t`
|