Lines Matching refs:roots
275 func makeSerializableGraph(g *DepGraph, roots []string) (serializableGraph, error) {
284 Roots: roots,
290 func (jsonLoadSaver) Save(g *DepGraph, filename string, roots []string) error {
292 sg, err := makeSerializableGraph(g, roots)
317 func (gobLoadSaver) Save(g *DepGraph, filename string, roots []string) error {
327 sg, err = makeSerializableGraph(g, roots)
349 func cacheFilename(mk string, roots []string) string {
351 for _, r := range roots {
357 func saveCache(g *DepGraph, roots []string) error {
361 cacheFile := cacheFilename(g.accessedMks[0].Filename, roots)
371 return GOB.Save(g, cacheFile, roots)
755 func loadCache(makefile string, roots []string) (*DepGraph, error) {
761 filename := cacheFilename(makefile, roots)