shithub: furgit

ref: af08c84539f9353718604988ba27ae3c466860fc
dir: /refstore/files/root_for.go/

View raw version
package files

import (
	"os"
)

func (store *Store) rootFor(kind rootKind) *os.Root {
	if kind == rootCommon {
		return store.commonRoot
	}

	return store.gitRoot
}