make v2 the migration version to codeberg (#2)

This commit is contained in:
T. von Dein
2025-12-05 20:46:16 +01:00
parent 47c55fae5c
commit 61ff94f09c
17 changed files with 6 additions and 7 deletions

13
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()
}