Retoor software development Projects Research SearchXNG
Register Sign In

13 lines
245 B
Plaintext
Raw Normal View History

feat: add fswatch, sysinfo, and udp demo scripts plus reorder manual sidebar links Add three new example scripts demonstrating the fswatch, sysinfo, and udp modules with file watching, system metrics, and UDP echo server/client patterns. Reorder the manual API sidebar navigation to list modules alphabetically, removing deprecated entries like websocket, tls, net, json, regex, jinja, os, signal, subprocess, sqlite, and timer while adding argparse, dataset, fswatch, and html.
2026-01-25 13:09:28 +01:00
// retoor <retoor@molodetz.nl>
import "pathlib" for Path
var testFile = Path.new("/tmp/test_pathlib_size.txt")
var content = "12345678"
testFile.writeText(content)
var size = testFile.size()
System.print(size) // expect: 8
testFile.unlink()
Reference in New Issue Copy Permalink
fe1f129349
wren/test/pathlib/size.wren
Response time: 26ms
Mail Licenses API