package protocol-9p

  1. Overview
  2. Docs
An implementation of the 9p protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

protocol-9p-v2.0.0.tbz
md5=54e0a60a1913aaa0ef9a2547a635b754

Description

ocaml-9p is an implementation of the 9P protocol, written in a Mirage-friendly style. This library supports the 9P2000.u extension. Please also refer to the protocol-9p-unix package for a Unix/Windows implementation, and to protocol-9p-tool for a CLI interface.

Published: 12 Mar 2019

README

OCaml-9P -- An implementation of the 9p protocol in pure OCaml

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

Dependencies (14)

  1. ppx_sexp_conv >= "v0.9.0"
  2. win-error
  3. logs >= "0.5.0"
  4. fmt
  5. astring
  6. lwt >= "3.0.0"
  7. mirage-channel-lwt
  8. mirage-flow-lwt
  9. rresult
  10. sexplib > "113.00.00"
  11. cstruct >= "3.0.0" & < "4.0.0"
  12. base-bytes
  13. dune >= "1.0"
  14. ocaml >= "4.03.0"

Dev Dependencies (1)

  1. alcotest with-test & >= "0.4.0"

Used by (7)

  1. datakit-bridge-github < "0.10.0"
  2. datakit-bridge-local-git < "0.10.0"
  3. datakit-ci < "0.10.0"
  4. datakit-server-9p
  5. protocol-9p-tool = "0.12.0" | >= "2.0.0"
  6. protocol-9p-unix >= "2.0.0"
  7. vpnkit >= "0.2.0"

Conflicts

None