diff options
Diffstat (limited to 'internal/sys/std.go')
| -rw-r--r-- | internal/sys/std.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/sys/std.go b/internal/sys/std.go index c7228599..88579f6d 100644 --- a/internal/sys/std.go +++ b/internal/sys/std.go @@ -41,6 +41,8 @@ func (s *Std) Stat(name string) (fs.FileInfo, error) { return os.Stat(nam func (s *Std) Open(name string) (fs.File, error) { return os.Open(name) } func (s *Std) EvalSymlinks(path string) (string, error) { return filepath.EvalSymlinks(path) } func (s *Std) Exit(code int) { internal.Exit(code) } +func (s *Std) Println(v ...any) { fmsg.Verbose(v...) } +func (s *Std) Printf(format string, v ...any) { fmsg.Verbosef(format, v...) } const xdgRuntimeDir = "XDG_RUNTIME_DIR" |
