shithub: furgit

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