shithub: furgit

ref: c3731c4eff12cc9e6636f89128948d86596ad860
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
}