aboutsummaryrefslogtreecommitdiff
path: root/shared/fs/afs/write/stack.zig
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-07-12 05:17:19 +0530
committerBobby <[email protected]>2026-07-12 05:17:19 +0530
commitcfcee2cbb3f6daeb20ee62fcc411c99ca02f7dec (patch)
treebb4580d0c719ed6e3659f38e552c23cd9ac692cb /shared/fs/afs/write/stack.zig
parent174951500db9ee02ad537cf163d83f9b8dcd9b82 (diff)
downloadakiba-cfcee2cbb3f6daeb20ee62fcc411c99ca02f7dec.tar.xz
akiba-cfcee2cbb3f6daeb20ee62fcc411c99ca02f7dec.zip
Sweep: extract crimson/render strings, move pure-constant files into constants/ subfolders, strip explanatory comments and multi-line headers tree-wide, zig fmt
Diffstat (limited to 'shared/fs/afs/write/stack.zig')
-rw-r--r--shared/fs/afs/write/stack.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/shared/fs/afs/write/stack.zig b/shared/fs/afs/write/stack.zig
index 69afd53..0507bae 100644
--- a/shared/fs/afs/write/stack.zig
+++ b/shared/fs/afs/write/stack.zig
@@ -10,7 +10,6 @@ const IndexKey = types.IndexKey;
const Permissions = types.Permissions;
const ChannelInfo = types.ChannelInfo;
-/// Create a stack record
pub fn create_stack_record(
node_id: u32,
timestamp: u64,
@@ -40,7 +39,6 @@ pub fn create_stack_record(
};
}
-/// Create a unit record
pub fn create_unit_record(
node_id: u32,
timestamp: u64,
@@ -73,7 +71,6 @@ pub fn create_unit_record(
};
}
-/// Create an index key for a catalog entry
pub fn create_index_key(
parent_node_id: u32,
identity: []const u8,
@@ -91,7 +88,6 @@ pub fn create_index_key(
return key;
}
-/// Get the size of an index key in bytes
pub fn index_key_size(identity_len: usize) usize {
return 8 + identity_len * 2;
}