-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.go
41 lines (31 loc) · 1.31 KB
/
settings.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// -----------------------------------------------------------------------------
// CMDX Utilities Suite cmdx/[settings.go]
// (c) [email protected] License: GPLv3
// -----------------------------------------------------------------------------
package main
// -----------------------------------------------------------------------------
// # Paths and Files
// DefaultExts specifies file types that CMDX processes.
// By default this comprises of all known text file extensions.
var DefaultExts = append(env.TextFileExts(), ExtraTextFileExts...)
// DefaultLibPath specifies the default path of the Zircon-Go library.
var DefaultLibPath = func() string {
if env.PathSeparator() == "/" {
return hardcodedDefaultLibPathOnLinux
}
return hardcodedDefaultLibPathOnWindows
}()
// DefaultPath _ _
var DefaultPath = "."
// RootPath _ _
var RootPath = hardcodedRootPath
// TimeLogPaths _ _
var TimeLogPaths = hardcodedTimeLogPaths
// IgnoreFilenamesWith specifies file names ignored
// by such functions as markTimeInFiles().
// I.e. if any part of a file's path contains one of these
// substrings, the file will not be processed.
var IgnoreFilenamesWith = hardcodedIgnoreFilenamesWith
// WordListFile _ _
var WordListFile = hardcodedWordListFile
// end