Introduction
Introduction Statistics Contact Development Disclaimer Help
config.go - staticgit - A git static site generator in GO with HTML output!
git clone git://jay.scot/staticgit
Log
Files
Refs
README
---
config.go (251B)
---
1 package config
2
3 import (
4 "strings"
5 )
6
7 type Config struct {
8 RepoDir string
9 IgnoreDirs []string
10 OutDir string
11 MaxCommits int
12 }
13
14 func parseIgnoreList(dirs string) []string {
15 if dirs == "" {
16 return nil
17 }
18 return strings.Split(dirs, ",")
19 }
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.