mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
a7d91e5f66
The read_dir utility was only used by p9. Other code uses fs::read_dir, so we can move it from base::unix into p9. BUG=b:229114164 TEST=presubmit Change-Id: I9bd12b11233582245db8251aeb3d4480170a2d48 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3584628 Reviewed-by: Allen Webb <allenwebb@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com> |
||
---|---|---|
.. | ||
fuzz | ||
src | ||
wire_format_derive | ||
Cargo.toml | ||
OWNERS | ||
README.md |
p9 - Server implementation of the 9p file system protocol
This directory contains the protocol definition and a server implementation of the 9p file system protocol.
- wire_format_derive - A procedural macro that derives the serialization and de-serialization implementation for a struct into the 9p wire format.
- src/protocol - Defines all the messages used in the 9p protocol. Also implements serialization
and de-serialization for some base types (integers, strings, vectors) that form the foundation of
all 9p messages. Wire format implementations for all other messages are derived using the
wire_format_derive
macro. - src/server.rs - Implements a full 9p server, carrying out file system requests on behalf of clients.