<commit_before>package tls

import (
	"crypto/tls"
	"crypto/x509"
	"flag"
	"fmt"
	"io/ioutil"
	"os"
	"path/filepath"
	"strings"
	"vlog"
)

var (
	CertPath string
	Insecure bool
)

func init() {
	flag.StringVar(&CertPath, "tls-certs", "", "path containing anons's TLS certs and keys. If empty, $BIN/../certs and $PWD/../../../../certs are searched")
	flag.BoolVar(&Insecure, "tls-insecure", false, "ignore TLS cert verification errors")
}

var packagedCertDir string

// locate the path of the packaged PEM store which is the directory named
// "certs". functions that take a (name string) parameter look for files named
// ${name}-key.pem and/or ${name}-cert.pem in this directory.
func LocatePackagedPEMDir() (dir string, err error) {<commit_msg>change the imports to be the correct place<commit_after>package tls

import (
	"crypto/tls"
	"crypto/x509"
	"flag"
	"fmt"
	"io/ioutil"
	"os"
	"path/filepath"
	"strings"

	. "github.com/fastly/go-utils/process"
	. "github.com/fastly/go-utils/vlog"
)

var (
	CertPath string
	Insecure bool
)

func init() {
	flag.StringVar(&CertPath, "tls-certs", "", "path containing anons's TLS certs and keys. If empty, $BIN/../certs and $PWD/../../../../certs are searched")
	flag.BoolVar(&Insecure, "tls-insecure", false, "ignore TLS cert verification errors")
}

var packagedCertDir string

// locate the path of the packaged PEM store which is the directory named
// "certs". functions that take a (name string) parameter look for files named
// ${name}-key.pem and/or ${name}-cert.pem in this directory.
func LocatePackagedPEMDir() (dir string, err error) {
{'fraction_non_alphanumeric': 0.14689265536723164, 'fraction_numerical': 0.003766478342749529, 'mean_word_length': 3.9046153846153846, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1812354', 'n_tokens_mistral': 568, 'n_tokens_neox': 552, 'n_words': 174}