feat: metadata diff hopefully implemented now

This commit is contained in:
2026-04-27 08:18:02 +02:00
parent adb49ceb6e
commit e7ccf02d40
19 changed files with 2006 additions and 17 deletions

View File

@@ -167,6 +167,15 @@ defmodule BDS.Metadata do
|> unwrap_transaction()
end
def flush_project_metadata_to_filesystem(project_id) do
project = Projects.get_project!(project_id)
state = load_state(project)
write_project_metadata_files(project, state, state)
{:ok, state}
end
defp update_state(project_id, updater) do
project = Projects.get_project!(project_id)
state = load_state(project)