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
This commit was merged in pull request #2.
This commit is contained in:
cflmy committed 2026-11-26 23:30:29 +08:00
1 parent 3ef21c7de0
commit 63bceae587
10 files changed
+893 -6

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
{
"schema": "marqdo.stdlib-test-case",
"schema_version": 1,
"name": "path",
"file": "path.mq.md",
"require_module": "path.mq.md",
"args": [],
"stdin": "",
"env": {},
"expected_stdout": "",
"expected_terminal": {
"items": [
{
"type": "text",
"value": "a/b/c"
},
{
"type": "text",
"value": "c.txt"
},
{
"type": "text",
"value": "a/b"
},
{
"type": "text",
"value": "txt"
},
{
"type": "text",
"value": "a/c"
},
{
"type": "text",
"value": "/a/c"
},
{
"type": "text",
"value": "../a/b"
},
{
"type": "bool",
"value": true
},
{
"type": "bool",
"value": false
}
],
"type": "list"
}
}