From b35d09b39f797a33606f2e2826bb25322d578bb6 Mon Sep 17 00:00:00 2001 From: Steven de Oliveira Date: Tue, 30 Jun 2026 17:00:47 +0200 Subject: [PATCH] Update headers --- src/bitpack_serializer.ml | 23 ++++++++++++----------- src/bitpack_serializer.mli | 23 ++++++++++++----------- src/buffer.ml | 23 ++++++++++++----------- src/buffer.mli | 23 ++++++++++++----------- src/index.mld | 12 ++++++++++++ src/lens.ml | 23 ++++++++++++----------- src/lens.mli | 23 ++++++++++++----------- src/utils.ml | 23 ++++++++++++----------- src/utils.mli | 23 ++++++++++++----------- src/version.mlt | 12 ++++++++++++ 10 files changed, 120 insertions(+), 88 deletions(-) diff --git a/src/bitpack_serializer.ml b/src/bitpack_serializer.ml index de0615d..d105e84 100644 --- a/src/bitpack_serializer.ml +++ b/src/bitpack_serializer.ml @@ -1,14 +1,15 @@ -(**************************************************************************) -(* *) -(* Copyright (c) 2019-2022 Ocaml Pro *) -(* *) -(* All rights reserved. *) -(* This file is distributed under the terms of the GNU Lesser General *) -(* Public License version 2.1, with the special exception on linking *) -(* described in the LICENSE.md file in the root directory. *) -(* *) -(* *) -(**************************************************************************) +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + module Buffer = Buffer module Lens = Lens diff --git a/src/bitpack_serializer.mli b/src/bitpack_serializer.mli index 274a57a..0f92102 100644 --- a/src/bitpack_serializer.mli +++ b/src/bitpack_serializer.mli @@ -1,14 +1,15 @@ -(**************************************************************************) -(* *) -(* Copyright (c) 2019-2022 OcamlPro *) -(* *) -(* All rights reserved. *) -(* This file is distributed under the terms of the GNU Lesser General *) -(* Public License version 2.1, with the special exception on linking *) -(* described in the LICENSE.md file in the root directory. *) -(* *) -(* *) -(**************************************************************************) +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + module Buffer : module type of Buffer module Lens : module type of Lens diff --git a/src/buffer.ml b/src/buffer.ml index 678b7e7..f59e755 100644 --- a/src/buffer.ml +++ b/src/buffer.ml @@ -1,14 +1,15 @@ -(**************************************************************************) -(* *) -(* Copyright (c) 2019-2022 OcamlPro *) -(* *) -(* All rights reserved. *) -(* This file is distributed under the terms of the GNU Lesser General *) -(* Public License version 2.1, with the special exception on linking *) -(* described in the LICENSE.md file in the root directory. *) -(* *) -(* *) -(**************************************************************************) +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + open Utils open Collections diff --git a/src/buffer.mli b/src/buffer.mli index f027a97..bba9eab 100644 --- a/src/buffer.mli +++ b/src/buffer.mli @@ -1,14 +1,15 @@ -(**************************************************************************) -(* *) -(* Copyright (c) 2019-2022 OCamlPro *) -(* *) -(* All rights reserved. *) -(* This file is distributed under the terms of the GNU Lesser General *) -(* Public License version 2.1, with the special exception on linking *) -(* described in the LICENSE.md file in the root directory. *) -(* *) -(* *) -(**************************************************************************) +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + (** The Buffer defines the methods for serializers & deserializers in a buffer. The compression algorithm used by the library works by writing diff --git a/src/index.mld b/src/index.mld index d97b6e4..63d7794 100644 --- a/src/index.mld +++ b/src/index.mld @@ -1,3 +1,15 @@ +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + {1 Library Bitpack_serializer} The library_binary encoding provides two main modules. diff --git a/src/lens.ml b/src/lens.ml index 1b9c69b..bea37e5 100644 --- a/src/lens.ml +++ b/src/lens.ml @@ -1,14 +1,15 @@ -(**************************************************************************) -(* *) -(* Copyright (c) 2019-2022 OcamlPro *) -(* *) -(* All rights reserved. *) -(* This file is distributed under the terms of the GNU Lesser General *) -(* Public License version 2.1, with the special exception on linking *) -(* described in the LICENSE.md file in the root directory. *) -(* *) -(* *) -(**************************************************************************) +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + open Utils diff --git a/src/lens.mli b/src/lens.mli index fa59bdf..dfd50b6 100644 --- a/src/lens.mli +++ b/src/lens.mli @@ -1,14 +1,15 @@ -(**************************************************************************) -(* *) -(* Copyright (c) 2019-2022 OcamlPro *) -(* *) -(* All rights reserved. *) -(* This file is distributed under the terms of the GNU Lesser General *) -(* Public License version 2.1, with the special exception on linking *) -(* described in the LICENSE.md file in the root directory. *) -(* *) -(* *) -(**************************************************************************) +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + (** Lenses are useful tools defining data-types encodings. Lenses provides in a single OCaml value equivalent serializes and deserializers. *) diff --git a/src/utils.ml b/src/utils.ml index 05c7193..a4aa92e 100644 --- a/src/utils.ml +++ b/src/utils.ml @@ -1,14 +1,15 @@ -(**************************************************************************) -(* *) -(* Copyright (c) 2019-2022 Origin Labs *) -(* *) -(* All rights reserved. *) -(* This file is distributed under the terms of the GNU Lesser General *) -(* Public License version 2.1, with the special exception on linking *) -(* described in the LICENSE.md file in the root directory. *) -(* *) -(* *) -(**************************************************************************) +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + module Collections = struct module StringMap = Map.Make(String) diff --git a/src/utils.mli b/src/utils.mli index 7e2bfd0..096d294 100644 --- a/src/utils.mli +++ b/src/utils.mli @@ -1,14 +1,15 @@ -(**************************************************************************) -(* *) -(* Copyright (c) 2019-2022 Origin Labs *) -(* *) -(* All rights reserved. *) -(* This file is distributed under the terms of the GNU Lesser General *) -(* Public License version 2.1, with the special exception on linking *) -(* described in the LICENSE.md file in the root directory. *) -(* *) -(* *) -(**************************************************************************) +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + module Collections : sig module StringMap : Map.S with type key = string diff --git a/src/version.mlt b/src/version.mlt index 901bb4b..1cad99f 100644 --- a/src/version.mlt +++ b/src/version.mlt @@ -1,3 +1,15 @@ +(******************************************************************************) +(* *) +(* Copyright (c) 2019-2026 OCamlPro *) +(* *) +(* All rights reserved. *) +(* *) +(* This file is distributed under the terms of the GNU Lesser General Public *) +(* License version 2.1, with the special exception on linking described in *) +(* the LICENSE.md file in the root directory. *) +(* *) +(******************************************************************************) + let query cmd = let chan = Unix.open_process_in cmd in try