internal/

directory
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT

Directories

Path Synopsis
Package access signs in to a pedit server behind Cloudflare Access with cloudflared, so that sharing a file stays a single command.
Package access signs in to a pedit server behind Cloudflare Access with cloudflared, so that sharing a file stays a single command.
Package attach saves images pasted into the shared document next to the host's file, and uploads them again for peers who could not fetch them.
Package attach saves images pasted into the shared document next to the host's file, and uploads them again for peers who could not fetch them.
Package canvas reads and writes JSON Canvas files (https://jsoncanvas.org) and moves them in and out of a shared document.
Package canvas reads and writes JSON Canvas files (https://jsoncanvas.org) and moves them in and out of a shared document.
Package clipboard copies text with the platform's clipboard command.
Package clipboard copies text with the platform's clipboard command.
Package doctor checks a review page: the page an integrator serves with the @pedit/review component (docs/design/embedding.md).
Package doctor checks a review page: the page an integrator serves with the @pedit/review component (docs/design/embedding.md).
Package fileowner tells who owns a file on Windows, by SID.
Package fileowner tells who owns a file on Windows, by SID.
Package filewriter writes the shared document back to the host's file.
Package filewriter writes the shared document back to the host's file.
Package flock takes an exclusive advisory lock on an open file without waiting.
Package flock takes an exclusive advisory lock on an open file without waiting.
Package lineend holds a file whose lines all end in CRLF as LF in a document, and writes it back with CRLF.
Package lineend holds a file whose lines all end in CRLF as LF in a document, and writes it back with CRLF.
Package merge applies edits made to the file outside pedit onto the shared text.
Package merge applies edits made to the file outside pedit onto the shared text.
Package meta reads and writes the metadata file pedit keeps for a shared file under .pedit/meta/, which holds its comments (#121).
Package meta reads and writes the metadata file pedit keeps for a shared file under .pedit/meta/, which holds its comments (#121).
prototest
Package prototest provides an in-memory stand-in for the Worker.
Package prototest provides an in-memory stand-in for the Worker.
Package serve holds a file's Yjs document for a local app: clients, one per stream on pedit's standard streams (stdio.go), speak the y-websocket protocol (sync and awareness, unencrypted), and pedit alone writes the file and merges saves made by other editors.
Package serve holds a file's Yjs document for a local app: clients, one per stream on pedit's standard streams (stdio.go), speak the y-websocket protocol (sync and awareness, unencrypted), and pedit alone writes the file and merges saves made by other editors.
Package session shares a local file in a pedit room.
Package session shares a local file in a pedit room.
Package sessiondir lets short commands reach a running pedit session on the same machine: a session registers a directory of its own under the user's configuration, and a command leaves a request there and waits for the answer (docs/design/comments-cli.md).
Package sessiondir lets short commands reach a running pedit session on the same machine: a session registers a directory of its own under the user's configuration, and a command leaves a request there and waits for the answer (docs/design/comments-cli.md).
Package suggest finds files whose names are close to one that does not exist, to turn a typo into a ready-to-run command.
Package suggest finds files whose names are close to one that does not exist, to turn a typo into a ready-to-run command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL