From ad7639af3623751b8b45fe81af23209ca04c8bb3 Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Thu, 28 May 2026 09:57:12 +0100 Subject: [PATCH] =?UTF-8?q?chore(v=E2=86=92zig):=20delete=20legacy=20V-lan?= =?UTF-8?q?g=20API=20shim=20(api/v/conflow.v)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per estate-wide owner directive (2026-05-28): Zig is the default for APIs/FFIs; Idris2 owns ABIs. The deleted file was a thin V wrapper around the existing Zig FFI at ffi/zig/. With V removed from the estate, the Zig FFI is the canonical API surface — no replacement needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- api/v/conflow.v | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 api/v/conflow.v diff --git a/api/v/conflow.v b/api/v/conflow.v deleted file mode 100644 index c6a0652..0000000 --- a/api/v/conflow.v +++ /dev/null @@ -1,39 +0,0 @@ -// SPDX-License-Identifier: MPL-2.0 -// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) -// -// Conflow zig API — Configuration orchestration client. -module conflow - -pub enum ConfigFormat { - nickel - toml - json - yaml -} - -pub enum ApplyResult { - applied - no_change - conflict - @error -} - -pub struct ConfigEntry { -pub: - key string - value string - format ConfigFormat -} - -fn C.conflow_validate_config(config_ptr &u8, format int) int -fn C.conflow_valid_format(format int) int - -// validate checks if a configuration string is valid for the given format. -pub fn validate(config string, format ConfigFormat) bool { - return C.conflow_validate_config(config.str, int(format)) == 0 -} - -// is_valid_format checks if a format ID is supported. -pub fn is_valid_format(format ConfigFormat) bool { - return C.conflow_valid_format(int(format)) == 1 -}