Current section

Files

Jump to
diffo lib diffo application.ex
Raw

lib/diffo/application.ex

# SPDX-FileCopyrightText: 2025 diffo contributors <https://github.com/diffo-dev/diffo/graphs.contributors>
#
# SPDX-License-Identifier: MIT
defmodule Diffo.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [Diffo.Repo]
opts = [strategy: :one_for_one, name: Diffo.Supervisor]
Supervisor.start_link(children, opts)
end
end