From 89ade5025b3fe5851fb9ac9297762ee1852a2f09 Mon Sep 17 00:00:00 2001 From: Andrew Bruce Date: Tue, 12 Nov 2024 22:09:02 +0000 Subject: [PATCH] Remove unused functions --- lib/mudbrick/content_stream/bt_et.ex | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/mudbrick/content_stream/bt_et.ex b/lib/mudbrick/content_stream/bt_et.ex index 3061782..834fc3a 100644 --- a/lib/mudbrick/content_stream/bt_et.ex +++ b/lib/mudbrick/content_stream/bt_et.ex @@ -2,14 +2,6 @@ defmodule Mudbrick.ContentStream.BT do @moduledoc false defstruct [] - def open({_doc, content_stream} = context) do - context - |> Mudbrick.ContentStream.add(%__MODULE__{}) - |> Mudbrick.ContentStream.add(content_stream.value.current_base_td) - |> Mudbrick.ContentStream.add(content_stream.value.current_tf) - |> Mudbrick.ContentStream.add(content_stream.value.current_tl) - end - defimpl Mudbrick.Object do def from(_), do: ["BT"] end @@ -19,12 +11,6 @@ defmodule Mudbrick.ContentStream.ET do @moduledoc false defstruct [] - def remove(context) do - Mudbrick.ContentStream.update_operations(context, fn [%__MODULE__{} | operations] -> - operations - end) - end - defimpl Mudbrick.Object do def from(_), do: ["ET"] end