package protocol-9p

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

Install

Dune Dependency

Authors

Maintainers

Sources

protocol-9p-2.0.2.tbz
sha256=a4c0585e81f5c57c879560318016aeb022163044f2c7ae086af3dfcbbe1b8164
sha512=253bafb9a41d7e641d8f8c117de4a561f7b0a81dd7e54ab9ea322375818fe1e4d952bc7b4fdabc88cab30b2df082f0cf5c0764e5d63474c1ee43a8e3f591694e

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: 09 Feb 2022

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 (15)

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