func makeRepoSubDirs(filename, reponame string) error {

	var i, c, m, r string

	r = filepath.Dir(filename)
	r = filepath.Join(r, reponame)
	i = filepath.Join(r, "index")
	c = filepath.Join(r, "corpus")
	m = filepath.Join(r, "metadata")

	//fmt.Printf("index: %v\n", i)
	//fmt.Printf("corpus: %v\n", c)
	//fmt.Printf("metadata: %v\n", m)

	if err := os.Mkdir(r, 0775); err != nil {
		return err
	}
	if err := os.Mkdir(i, 0660); err != nil {
		return err
	}
	if err := os.Mkdir(c, 0660); err != nil {
		return err
	}
	if err := os.Mkdir(m, 0660); err != nil {
		return err
	}
	return nil
}
// given repo params file, create repo subfolders
// cfg path parameters are ignored for these
//	  - Indexer.Corpus.Path
//	  - Indexer.Corpus.Metadata
given repo params file, create repo subfolders
cfg path parameters are ignored for these
- Indexer.Corpus.Path
- Indexer.Corpus.Metadata
// given repo params file create repo subfolders // cfg path parameters are ignored for these // - Indexer . Corpus . Path // - Indexer . Corpus . Metadata
func makeRepoSubDirs(filename, reponame string) error {
	var i, c, m, r string
	r = filepath.Dir(filename)
	r = filepath.Join(r, reponame)
	i = filepath.Join(r, "index")
	c = filepath.Join(r, "corpus")
	m = filepath.Join(r, "metadata")
	if err := os.Mkdir(r, 0775); err != nil {
		return err
	}
	if err := os.Mkdir(i, 0660); err != nil {
		return err
	}
	if err := os.Mkdir(c, 0660); err != nil {
		return err
	}
	if err := os.Mkdir(m, 0660); err != nil {
		return err
	}
	return nil
}
func makeRepoSubDirs ( filename , reponame string ) error { var i , c , m , r string r = filepath . Dir ( filename ) r = filepath . Join ( r , reponame ) i = filepath . Join ( r , " " ) c = filepath . Join ( r , " " ) m = filepath . Join ( r , " " ) if err := os . Mkdir ( r , 0775 ) ; err != nil { return err } if err := os . Mkdir ( i , 0660 ) ; err != nil { return err } if err := os . Mkdir ( c , 0660 ) ; err != nil { return err } if err := os . Mkdir ( m , 0660 ) ; err != nil { return err } return nil }
given repo params file, create repo subfolders
cfg path parameters are ignored for these
 Indexer.Corpus.Path
 Indexer.Corpus.Metadata
given repo params file create repo subfolders cfg path parameters are ignored for these Indexer . Corpus . Path Indexer . Corpus . Metadata
//fmt.Printf("index: %v\n", i) //fmt.Printf("corpus: %v\n", c) //fmt.Printf("metadata: %v\n", m)