commit 6f4e2885b63de10a9fc2ff4a8128bb3f5e378d7b
parent a266c75f41755ec3cb9350528d2440c31d04078c
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date: Thu, 24 Sep 2026 06:51:32 -0300
sonar: follow the collection rename from jfm to jm
The collection now lives at ~/Source/Personal/jm and is imported as jm:;
the justfile override variable is JM to match.
Diffstat:
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/justfile b/justfile
@@ -6,8 +6,8 @@
# just check type-check both modes without producing a binary
# just clean remove build/
#
-# The debug allocator and flow come from the jfm collection at ~/Source/Personal/odin
-# (override with JFM=<path>); they are resolved by path until sonar ships.
+# The debug allocator and flow come from the jm collection at ~/Source/Personal/jm
+# (override with JM=<path>); they are resolved by path until sonar ships.
#
# Debug and test builds carry -sanitize:address. The debug allocator poisons its
# guard bytes and freed blocks, so instrumented reads past the end or after free
@@ -15,8 +15,8 @@
# `SAN= just build`. Odin does not create output directories, hence the mkdir.
odin := env("ODIN", "odin")
-jfm := env("JFM", home_directory() / "Source" / "Personal" / "odin")
-flags := "-vet -strict-style -collection:jfm=" + jfm
+jm := env("JM", home_directory() / "Source" / "Personal" / "jm")
+flags := "-vet -strict-style -collection:jm=" + jm
san := env("SAN", "-sanitize:address")
exe := if os() == "windows" { ".exe" } else { "" }
bin := "sonar"
diff --git a/main.odin b/main.odin
@@ -15,7 +15,7 @@ import "core:fmt"
import "core:os"
import "core:time"
-@(require) import "jfm:debug"
+@(require) import "jm:debug"
import "ntfs"
import "scan"
import "walk"
diff --git a/ntfs/reader.odin b/ntfs/reader.odin
@@ -4,7 +4,7 @@ import "core:mem"
import "core:mem/virtual"
import "core:time"
-import "jfm:flow"
+import "jm:flow"
// Alignment for I/O buffers. Raw volume reads want sector alignment; 4 KiB covers
// every sector size in use.
diff --git a/walk/walk.odin b/walk/walk.odin
@@ -17,7 +17,7 @@ package walk
import "core:mem"
import "core:strings"
-import "jfm:flow"
+import "jm:flow"
import "../scan"
Config :: struct {