move acl and xcb binding packages to top level

These packages are reasonably clean and do not interact with other packages.
This commit is contained in:
Ophestra 2024-09-16 20:24:02 +09:00
parent 91fe983fdb
commit 5d523f50c2
No known key found for this signature in database
10 changed files with 17 additions and 15 deletions

View File

@ -3,13 +3,13 @@ package app
import ( import (
"errors" "errors"
"fmt" "fmt"
"git.ophivana.moe/cat/fortify/internal/final"
"os" "os"
"path" "path"
"strconv" "strconv"
"git.ophivana.moe/cat/fortify/acl"
"git.ophivana.moe/cat/fortify/dbus" "git.ophivana.moe/cat/fortify/dbus"
"git.ophivana.moe/cat/fortify/internal/acl" "git.ophivana.moe/cat/fortify/internal/final"
"git.ophivana.moe/cat/fortify/internal/state" "git.ophivana.moe/cat/fortify/internal/state"
"git.ophivana.moe/cat/fortify/internal/util" "git.ophivana.moe/cat/fortify/internal/util"
"git.ophivana.moe/cat/fortify/internal/verbose" "git.ophivana.moe/cat/fortify/internal/verbose"

View File

@ -3,12 +3,13 @@ package app
import ( import (
"errors" "errors"
"fmt" "fmt"
"git.ophivana.moe/cat/fortify/internal/acl"
"git.ophivana.moe/cat/fortify/internal/final"
"git.ophivana.moe/cat/fortify/internal/verbose"
"io/fs" "io/fs"
"os" "os"
"path" "path"
"git.ophivana.moe/cat/fortify/acl"
"git.ophivana.moe/cat/fortify/internal/final"
"git.ophivana.moe/cat/fortify/internal/verbose"
) )
func (a *App) EnsureRunDir() { func (a *App) EnsureRunDir() {

View File

@ -3,12 +3,12 @@ package app
import ( import (
"errors" "errors"
"fmt" "fmt"
"git.ophivana.moe/cat/fortify/internal/final"
"io/fs" "io/fs"
"os" "os"
"path" "path"
"git.ophivana.moe/cat/fortify/internal/acl" "git.ophivana.moe/cat/fortify/acl"
"git.ophivana.moe/cat/fortify/internal/final"
"git.ophivana.moe/cat/fortify/internal/state" "git.ophivana.moe/cat/fortify/internal/state"
"git.ophivana.moe/cat/fortify/internal/util" "git.ophivana.moe/cat/fortify/internal/util"
"git.ophivana.moe/cat/fortify/internal/verbose" "git.ophivana.moe/cat/fortify/internal/verbose"

View File

@ -2,11 +2,11 @@ package app
import ( import (
"fmt" "fmt"
"git.ophivana.moe/cat/fortify/internal/final"
"os" "os"
"path" "path"
"git.ophivana.moe/cat/fortify/internal/acl" "git.ophivana.moe/cat/fortify/acl"
"git.ophivana.moe/cat/fortify/internal/final"
"git.ophivana.moe/cat/fortify/internal/state" "git.ophivana.moe/cat/fortify/internal/state"
"git.ophivana.moe/cat/fortify/internal/verbose" "git.ophivana.moe/cat/fortify/internal/verbose"
) )

View File

@ -2,12 +2,12 @@ package app
import ( import (
"fmt" "fmt"
"git.ophivana.moe/cat/fortify/internal/final"
"os" "os"
"git.ophivana.moe/cat/fortify/internal/final"
"git.ophivana.moe/cat/fortify/internal/state" "git.ophivana.moe/cat/fortify/internal/state"
"git.ophivana.moe/cat/fortify/internal/verbose" "git.ophivana.moe/cat/fortify/internal/verbose"
"git.ophivana.moe/cat/fortify/internal/xcb" "git.ophivana.moe/cat/fortify/xcb"
) )
const display = "DISPLAY" const display = "DISPLAY"

View File

@ -3,12 +3,13 @@ package final
import ( import (
"errors" "errors"
"fmt" "fmt"
"git.ophivana.moe/cat/fortify/internal/acl"
"git.ophivana.moe/cat/fortify/internal/state"
"git.ophivana.moe/cat/fortify/internal/verbose"
"git.ophivana.moe/cat/fortify/internal/xcb"
"io/fs" "io/fs"
"os" "os"
"git.ophivana.moe/cat/fortify/acl"
"git.ophivana.moe/cat/fortify/internal/state"
"git.ophivana.moe/cat/fortify/internal/verbose"
"git.ophivana.moe/cat/fortify/xcb"
) )
func Fatal(msg ...any) { func Fatal(msg ...any) {