package ojs_filetree

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Ojs_base.Types.App_msg with type app_server_msg = P.app_server_msg with type app_client_msg = P.app_client_msg
type app_server_msg = P.app_server_msg = ..
module M_app_server_msg_to_yojson : sig ... end
val app_server_msg_to_yojson : app_server_msg -> Yojson.Safe.t
module M_app_server_msg_of_yojson : sig ... end
type app_client_msg = P.app_client_msg = ..
module M_app_client_msg_to_yojson : sig ... end
val app_client_msg_to_yojson : app_client_msg -> Yojson.Safe.t
module M_app_client_msg_of_yojson : sig ... end
include Ojs_filetree.Types.B with type server_msg = P.server_msg with type client_msg = P.client_msg
type server_msg = P.server_msg = ..
module M_server_msg_to_yojson : sig ... end
val server_msg_to_yojson : server_msg -> Yojson.Safe.t
module M_server_msg_of_yojson : sig ... end
type server_msg +=
  1. | SOk
  2. | SError of string
  3. | STree of Ojs_filetree.Types.file_tree list
  4. | SAdd_file of Ojs_filetree.Types.path * Ojs_filetree.Types.mime_type
  5. | SAdd_dir of Ojs_filetree.Types.path
  6. | SDelete of Ojs_filetree.Types.path
type client_msg = P.client_msg = ..
module M_client_msg_to_yojson : sig ... end
val client_msg_to_yojson : client_msg -> Yojson.Safe.t
module M_client_msg_of_yojson : sig ... end
val pack_server_msg : string -> server_msg -> app_server_msg
val unpack_server_msg : app_server_msg -> (string * server_msg) option
val pack_client_msg : string -> client_msg -> app_client_msg
val unpack_client_msg : app_client_msg -> (string * client_msg) option
OCaml

Innovation. Community. Security.