mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 11:44:51 +00:00
15 lines
322 B
Go
15 lines
322 B
Go
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)
|
|
}
|