Select the types of activity you want to include in your feed.
fix(lint): resolve E410 doc style issues and apply dune fmt
Add missing periods to doc comments, fix [name] format mismatches, rename camelCase variant constructors to snake_case in hooks.ml, and apply dune fmt formatting.
···3434 type t = float
35353636 val of_sec : float -> t
3737+ (** Convert seconds to duration. *)
3738end
38393940(** {1 Entity ID}
···7273 (** [to_int64 eid] returns the entity ID as int64. *)
73747475 val equal : t -> t -> bool
7676+7577 val compare : t -> t -> int
7878+ (** Compare entity identifiers. *)
7979+7680 val pp : t Fmt.t
8181+ (** Pretty-print entity identifier. *)
7782end
78837984type entity_id = Entity_id.t
···127132 | Cancel_received
128133129134val int_of_condition : condition -> int
135135+(** Convert condition code to integer. *)
136136+130137val condition_of_int : int -> condition option
138138+(** Convert integer to condition code. *)
139139+131140val pp_condition : condition Fmt.t
141141+(** Pretty-print condition codes. *)
132142133143type delivery_code = Data_complete | Data_incomplete
134144···159169 | Checksum_null (** Type 15: No checksum *)
160170161171val int_of_checksum_type : checksum_type -> int
172172+(** Convert checksum type to integer. *)
173173+162174val checksum_type_of_int : int -> checksum_type option
175175+(** Convert integer to checksum type. *)
176176+163177val pp_checksum_type : checksum_type Fmt.t
178178+(** Pretty-print checksum types. *)
164179165180val compute_checksum : checksum_type -> bytes -> int32
166181(** [compute_checksum typ data] computes checksum over [data]. *)
···180195 | Dir_keep_alive (** 0x0C *)
181196182197val int_of_directive_code : directive_code -> int
198198+(** Convert directive code to integer. *)
199199+183200val directive_code_of_int : int -> directive_code option
201201+(** Convert integer to directive code. *)
202202+184203val pp_directive_code : directive_code Fmt.t
204204+(** Pretty-print directive codes. *)
185205186206(** {1 PDU Header} *)
187207···381401 | Pdu_file_data of header * file_data
382402383403val pp_directive : directive Fmt.t
404404+(** Pretty-print directives. *)
405405+384406val pp_pdu : pdu Fmt.t
407407+(** Pretty-print PDUs. *)
385408386409(** {1 Encoding} *)
387410···510533 | Act_indication of indication
511534512535 val initial : entity_id -> t
536536+ (** Create initial state machine. *)
537537+513538 val state : t -> state
539539+ (** Current state. *)
540540+514541 val transaction_id : t -> transaction_id option
542542+ (** Transaction identifier. *)
543543+515544 val dest : t -> entity_id option
545545+ (** Destination entity. *)
546546+516547 val filenames : t -> string * string
548548+ (** Source and destination filenames. *)
549549+517550 val step : t -> event -> t * action list
551551+ (** Process one step of the state machine. *)
552552+518553 val pp : t Fmt.t
554554+ (** Pretty-print the state machine. *)
519555end
520556521557(** {2 Class 2 Sender (Acknowledged)} *)
···546582 | Act_indication of indication
547583548584 val initial : entity_id -> t
585585+ (** Create initial state machine. *)
586586+549587 val state : t -> state
588588+ (** Current state. *)
589589+550590 val transaction_id : t -> transaction_id option
591591+ (** Transaction identifier. *)
592592+551593 val dest : t -> entity_id option
594594+ (** Destination entity. *)
595595+552596 val filenames : t -> string * string
597597+ (** Source and destination filenames. *)
598598+553599 val pending_retransmits : t -> segment_request list
600600+ (** Pending retransmission requests. *)
601601+554602 val step : t -> event -> t * action list
603603+ (** Process one step of the state machine. *)
604604+555605 val pp : t Fmt.t
606606+ (** Pretty-print the state machine. *)
556607end
557608558609(** {2 Class 1 Receiver (Unacknowledged)} *)
···577628 | Act_indication of indication
578629579630 val initial : entity_id -> t
631631+ (** Create initial state machine. *)
632632+580633 val state : t -> state
634634+ (** Current state. *)
635635+581636 val transaction_id : t -> transaction_id option
637637+ (** Transaction identifier. *)
638638+582639 val local_entity : t -> entity_id
640640+ (** Local entity identifier. *)
641641+583642 val expected_size : t -> int64
643643+ (** Expected file size. *)
644644+584645 val computed_checksum : t -> int32
646646+ (** Computed file checksum. *)
647647+585648 val step : t -> event -> t * action list
649649+ (** Process one step of the state machine. *)
650650+586651 val pp : t Fmt.t
652652+ (** Pretty-print the state machine. *)
587653end
588654589655(** {2 Class 2 Receiver (Acknowledged)} *)
···615681 | Act_indication of indication
616682617683 val initial : entity_id -> t
684684+ (** Create initial state machine. *)
685685+618686 val state : t -> state
687687+ (** Current state. *)
688688+619689 val transaction_id : t -> transaction_id option
690690+ (** Transaction identifier. *)
691691+620692 val local_entity : t -> entity_id
693693+ (** Local entity identifier. *)
694694+621695 val expected_size : t -> int64
696696+ (** Expected file size. *)
697697+622698 val computed_checksum : t -> int32
699699+ (** Computed file checksum. *)
700700+623701 val step : t -> event -> t * action list
702702+ (** Process one step of the state machine. *)
703703+624704 val pp : t Fmt.t
705705+ (** Pretty-print the state machine. *)
625706end
+1
test/test_cfdp.mli
···11val suite : string * unit Alcotest.test_case list
22+(** Test suite. *)