You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ko...@apache.org on 2026/03/21 07:36:49 UTC

(opendal) branch main updated: fix(bindings/ocaml): fix ocaml format on CI (#7262)

This is an automated email from the ASF dual-hosted git repository.

koushiro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 7521cc6c8 fix(bindings/ocaml): fix ocaml format on CI (#7262)
7521cc6c8 is described below

commit 7521cc6c8286fdaf652d7936802c86bf32f5bd2a
Author: dentiny <de...@gmail.com>
AuthorDate: Sat Mar 21 00:36:43 2026 -0700

    fix(bindings/ocaml): fix ocaml format on CI (#7262)
    
    Attempt to fix ocaml format on CI
---
 bindings/ocaml/lib/operator.mli | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/bindings/ocaml/lib/operator.mli b/bindings/ocaml/lib/operator.mli
index 0b156fbbe..654e4a00d 100644
--- a/bindings/ocaml/lib/operator.mli
+++ b/bindings/ocaml/lib/operator.mli
@@ -26,17 +26,15 @@
     {2 Basic Usage}
 
     {[
-      (* Create an operator for local filesystem *)
-      let op =
-        Operator.new_operator "fs" [ ("root", "/tmp") ] |> Result.get_ok
-      in
+    (* Create an operator for local filesystem *)
+    let op = Operator.new_operator "fs" [ ("root", "/tmp") ] |> Result.get_ok in
 
-      (* Write data to a file *)
-      let _ = Operator.write op "hello.txt" (Bytes.of_string "Hello, World!") in
+    (* Write data to a file *)
+    let _ = Operator.write op "hello.txt" (Bytes.of_string "Hello, World!") in
 
-      (* Read data back *)
-      let content = Operator.read op "hello.txt" |> Result.get_ok in
-      print_endline (String.of_bytes content)
+    (* Read data back *)
+    let content = Operator.read op "hello.txt" |> Result.get_ok in
+    print_endline (String.of_bytes content)
     ]} *)
 
 (** {2 Core Operations} *)