The release and knowledge tools follow the house rules too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W4YtEJrgxG12Pc39Fai8Bd
This commit is contained in:
1 parent
7cad7a32dd
commit
b4bd102b17
2 files changed
+7
-2
No files matched your search
+1
-1
@@ -59,7 +59,7 @@ using (var input = File.OpenRead(download))
|
||||
using (var file = File.Create(Path.Combine(output, "ip2asn.bin")))
|
||||
AsnTable.Write(file, sourceDate, Sources.IpToAsn(input));
|
||||
foreach (var stale in new[] { "networks.bin", "carriers.json", "registry.bin" }) File.Delete(Path.Combine(output, stale));
|
||||
string sha;
|
||||
var sha = default(string);
|
||||
using (var input = File.OpenRead(download)) sha = Convert.ToHexStringLower(SHA256.HashData(input));
|
||||
File.WriteAllText(Path.Combine(output, "SOURCE.txt"), $"iptoasn.com, Public Domain Dedication and License (PDDL) 1.0\n{Fallback}\nlast-modified {sourceDate:O}\nsha256 {sha}\n");
|
||||
Report();
|
||||
|
||||
Reference in new issue
Block a user