<commit_before>package dns

// A structure for handling zone data

import (
	"github.com/petar/GoLLRB/llrb"
)

type Zone struct {
	Name       string // Name of the zone
	*llrb.Tree        // Zone data
}

type ZoneData struct {
	Name       string                 // Domain name for this node
	RR         map[uint16][]RR        // Map ...
	Signatures map[uint16][]*RR_RRSIG // DNSSEC signatures
	Glue       bool                   // True if the A and AAAA record are glue
	// nsec3, next
}
<commit_msg>more stuff<commit_after>package dns

// A structure for handling zone data

import (
	"github.com/petar/GoLLRB/llrb"
)

type Zone struct {
	Name       string // Name of the zone
	*llrb.Tree        // Zone data
}

type ZoneData struct {
	Name       string                 // Domain name for this node
	RR         map[uint16][]RR        // Map ...
	Signatures map[uint16][]*RR_RRSIG // DNSSEC signatures
	Glue       bool                   // True if the A and AAAA record are glue
}

func lessZone(a, b interface{}) bool { return a.(string) < b.(string) }

// New ...
func New(name string) *Zone {
	z := new(Zone)
	z.Name = name
	z.Tree = llrb.New(lessZone)
	return z
}

func (z *Zone) Insert(r RR) {
	zd := z.Tree.Get(r.Header().Name)
}

func (z *Zone) Remove(r RR) {

}

{'fraction_non_alphanumeric': 0.11653543307086614, 'fraction_numerical': 0.007086614173228346, 'mean_word_length': 2.0118483412322274, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6751023', 'n_tokens_mistral': 443, 'n_tokens_neox': 426, 'n_words': 136}