Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
camelpunch committed Nov 12, 2024
1 parent 817ff83 commit 89ade50
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/mudbrick/content_stream/bt_et.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 89ade50

Please sign in to comment.