#134_limit-dns #135

Merged
silver merged 4 commits from #134_limit-dns into main 2024-10-09 14:16:48 +00:00
Showing only changes of commit 86efe11f83 - Show all commits

View file

@ -61,11 +61,11 @@
if x < y
then y
else x;
# get teh max length of a list of strings
max_len = records: lib.lists.foldr (a: b: (max a b)) 0 (lib.lists.forEach records (record: lib.strings.stringLength record.record));
# now that we can get teh max lenth of a list of strings
# Now that we can get teh max lenth of a list of strings
# we can pad it out to the max len +1
# this is so that teh generated file is easier for a human to read
format_records = records: let