mirror of
https://github.com/DominicBreuker/pspy.git
synced 2026-11-07 02:32:17 +00:00
start big refactoring
This commit is contained in:
1 parent
95150e5e12
commit
cb48cc1b37
5 files changed
+149
-4
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
import "fmt"
|
||||
|
||||
type Config struct {
|
||||
RDirs []string
|
||||
Dirs []string
|
||||
LogFS bool
|
||||
LogPS bool
|
||||
}
|
||||
|
||||
func (c Config) String() string {
|
||||
return fmt.Sprintf("Printing events: processes: %t | file system events: %t | Watching directories: %+v (recursive) | %+v (non-recursive)", c.LogPS, c.LogFS, c.RDirs, c.Dirs)
|
||||
}
|
||||
Reference in new issue
Block a user