mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 19:54:53 +00:00
start big refactoring
This commit is contained in:
committed by
Dominic Breuker
parent
95150e5e12
commit
cb48cc1b37
14
internal/config/config.go
Normal file
14
internal/config/config.go
Normal file
@@ -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