mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-22 15:37:49 +00:00
pass requested gen to artifact creation hooks, use to retry ctrl memory reads on many successive mem gen bumps - prevents spurious duplicate hashes in content store history
This commit is contained in:
@@ -32,7 +32,7 @@ fs_change_gen(void)
|
||||
//~ rjf: Cache Interaction
|
||||
|
||||
internal AC_Artifact
|
||||
fs_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out)
|
||||
fs_artifact_create(String8 key, U64 gen, B32 *cancel_signal, B32 *retry_out)
|
||||
{
|
||||
ProfBeginFunction();
|
||||
Temp scratch = scratch_begin(0, 0);
|
||||
|
||||
@@ -55,7 +55,7 @@ internal U64 fs_change_gen(void);
|
||||
////////////////////////////////
|
||||
//~ rjf: Artifact Cache Hooks / Accessing API
|
||||
|
||||
internal AC_Artifact fs_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out);
|
||||
internal AC_Artifact fs_artifact_create(String8 key, U64 gen, B32 *cancel_signal, B32 *retry_out);
|
||||
internal void fs_artifact_destroy(AC_Artifact artifact);
|
||||
|
||||
internal C_Key fs_key_from_path_range(String8 path, Rng1U64 range, U64 endt_us);
|
||||
|
||||
Reference in New Issue
Block a user