protocol-9p

AuthorsDavid Scott, David Sheets and Thomas Leonard
LicenseISC
Homepagehttps://github.com/mirage/ocaml-9p
Issue Trackerhttps://github.com/mirage/ocaml-9p/issues
Maintainerdave@recoil.org
Dependencies
&alcotest>= 0.4.0
astring
base-bytes
base-unix
channel>= 1.1.0
cmdliner
cstruct>= 1.9.0&3.0.0
cstruct-lwt
fmt
io-page2.0.0
logs>= 0.5.0
lwt>= 2.4.7&3.0.0
mirage-types-lwt3.0.0
named-pipe
ocamlbuild
ocamlfind
ppx_cstruct
ppx_deriving
ppx_sexp_conv
ppx_tools
result
sexplib113.00.00
topkg>= 0.7.3
win-error
Optional dependencies
lambda-term
Availableocaml-version >= "4.02.0"
PublishedJul 15, 2016
Source [http] https://github.com/mirage/ocaml-9p/releases/download/v0.7.2/protocol-9p-0.7.2.tbz
c8a73115d6da47d9a759fbd4f1c451c9
StatisticsInstalled once last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/protocol-9p/protocol-9p.0.7.2/opam

An implementation of the 9p protocol in pure OCaml

Build Status Coverage Status

ocaml-9p is an implementation of the 9P protocol, written in a Mirage-friendly style.

Please read the API documentation.

Example of the CLI example program:

o9p ls --username vagrant   /var
drwxr-xr-x ? root root 4096 Feb 2  2015 lib
drwxr-xr-x ? root root 4096 Mar 15 2015 cache
-rwxrwxrwx ? root root 9    May 10 2014 lock
drwxrwxrwx ? root root 4096 Jul 6  2015 tmp
drwxr-xr-x ? root root 4096 May 11 2014 spool
drwxrwxr-x ? root sshd 4096 Sep 28 2015 log
drwxr-xr-x ? root root 4096 Sep 21 2015 backups
drwxrwxr-x ? root mail 4096 Apr 16 2014 mail
drwxr-xr-x ? root root 4096 Apr 16 2014 opt
drwxrwxr-x ? root 50   4096 Apr 10 2014 local
-rwxrwxrwx ? root root 4    May 10 2014 run

This library supports the 9P2000.u extension