code: func New(dir string, cfg Config) Store {
  	metaRoot := filepath.Join(dir, metadataDir)
  	tlsRoot := filepath.Join(dir, tlsDir)
  
  	return &store{
  		meta: &metadataStore{
  			root:   metaRoot,
  			config: cfg,
  		},
  		tls: &tlsStore{
  			root: tlsRoot,
  		},
  	}
  }
docs: // New creates a store from a given directory.
  // If the directory does not exist or is empty, initialize it