Function hash [src]

Prototype

pub fn hash(self: Context, a: Match) u32

Parameters

self: Contexta: Match

Source

pub fn hash(self: Context, a: Match) u32 { _ = self; var hasher = Hash.init(0); std.hash.autoHash(&hasher, a.step); hasher.update(a.basename); return @truncate(hasher.final()); }