migrate to codeberg

This commit is contained in:
2025-11-10 20:52:06 +01:00
parent d64c1ddcc0
commit 22835c081a
33 changed files with 56 additions and 75 deletions

13
v1/io.go Normal file
View File

@@ -0,0 +1,13 @@
package swayipc
import "os"
func fileExists(filename string) bool {
info, err := os.Stat(filename)
if err != nil {
return false
}
return !info.IsDir()
}