func GetWALName(context string, n string) string {
	if n != "" {
		return n
	}
	return context + "-wal"
}
GetWALName yields the name of the Write Ahead Log store
package model
import (
	"fmt"
	"path"
	"gopkg.in/yaml.v2"
)
const (
	ContextVersion = 1.0
)
type Context struct {
	Name      string `json:"name" yaml:"name"`            
	WAL       string `json:"wal" yaml:"wal"`              
	ReadLog   string `json:"readlog" yaml:"readlog"`      
	Blob      string `json:"blob" yaml:"blob"`            
	Metadata  string `json:"metadata" yaml:"metadata"`    
	VMetadata string `json:"vmetadata" yaml:"vmetadata"`  
	Version   uint64 `json:"version" yaml:"version"`      
	_         struct{}
}
func GetPathToContext(context string) string {
	return path.Join(getArchivePathToContexts(), context, contextDescriptorFile)
}
func GetArchivePathPrefixToContexts() string {
	return getArchivePathToContexts()
}
func getArchivePathToContexts() string {
	return "contexts/"
}