@@ -208,11 +208,11 @@ pub const CacheManager = struct {
208208
209209 // Split key: first 2 chars for subdirectory, rest for filename
210210 var subdir_buf : [2 ]u8 = undefined ;
211- _ = std .fmt .bufPrint (& subdir_buf , "{}" , .{std . fmt . fmtSliceHexLower ( cache_key [0.. 1]) }) catch unreachable ;
211+ _ = std .fmt .bufPrint (& subdir_buf , "{x }" , .{cache_key [0.. 1]}) catch unreachable ;
212212 const subdir = subdir_buf [0.. ];
213213
214214 var filename_buf : [62 ]u8 = undefined ;
215- _ = std .fmt .bufPrint (& filename_buf , "{}" , .{std . fmt . fmtSliceHexLower ( cache_key [1.. 32]) }) catch unreachable ;
215+ _ = std .fmt .bufPrint (& filename_buf , "{x }" , .{cache_key [1.. 32]}) catch unreachable ;
216216 const filename = filename_buf [0.. ];
217217
218218 const cache_subdir = try std .fs .path .join (self .allocator , &[_ ][]const u8 { entries_dir , subdir });
@@ -228,7 +228,7 @@ pub const CacheManager = struct {
228228
229229 // Print the hex of the first byte into a fixed-size buffer for the subdir
230230 var subdir_buf : [2 ]u8 = undefined ;
231- _ = std .fmt .bufPrint (& subdir_buf , "{}" , .{std . fmt . fmtSliceHexLower ( cache_key [0.. 1]) }) catch unreachable ;
231+ _ = std .fmt .bufPrint (& subdir_buf , "{x }" , .{cache_key [0.. 1]}) catch unreachable ;
232232 const subdir = subdir_buf [0.. ];
233233 const full_subdir = try std .fs .path .join (self .allocator , &[_ ][]const u8 { entries_dir , subdir });
234234 defer self .allocator .free (full_subdir );
0 commit comments