Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pedit
command
Command pedit shares a local text file and co-edits it with others in their browser.
|
Command pedit shares a local text file and co-edits it with others in their browser. |
|
internal
|
|
|
access
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. |
|
attach
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. |
|
canvas
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. |
|
clipboard
Package clipboard copies text with the platform's clipboard command.
|
Package clipboard copies text with the platform's clipboard command. |
|
doctor
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). |
|
fileowner
Package fileowner tells who owns a file on Windows, by SID.
|
Package fileowner tells who owns a file on Windows, by SID. |
|
filewriter
Package filewriter writes the shared document back to the host's file.
|
Package filewriter writes the shared document back to the host's file. |
|
flock
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. |
|
lineend
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. |
|
merge
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. |
|
meta
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). |
|
protocol/prototest
Package prototest provides an in-memory stand-in for the Worker.
|
Package prototest provides an in-memory stand-in for the Worker. |
|
serve
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. |
|
session
Package session shares a local file in a pedit room.
|
Package session shares a local file in a pedit room. |
|
sessiondir
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). |
|
suggest
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. |
|
packages
|
|
|
serve/test/fakepedit
command
Command fakepedit stands in for pedit in the @pedit/serve tests.
|
Command fakepedit stands in for pedit in the @pedit/serve tests. |
Click to show internal directories.
Click to hide internal directories.