serveVerbsfunctionno test imports itfunction serveVerbs(host: Host): readonly Command[]The verb that serves a store.
The verb that serves a store (commons anyfs-cli 0006-anyfs-cli-serve FR-001 to FR-004): serve LOCATION hosts the place a word names as WebDAV through anyfs-serve, so that an operating system mounts it with no kernel module. It listens on the loopback with a token it makes and writes to standard error (never to the report, so that a pipe of the report does not carry it), says the address, and waits until the person stops it (SIGINT, SIGTERM) or the host does. A directory below the root of a store is served as the root of the server; a mount that is read-only, or --read-only, serves nothing that changes. An address that is not the loopback needs --allow-host for the names it may be asked for.
import { serveVerbs } from "./serve.ts";
// serveVerbs(host).map((v) => v.name); // ["serve"]serveVerbsfunctionno test imports itfunction serveVerbs(host: Host): readonly Command[]The verb that serves a store.