Skip to content

Commit

Permalink
update version type
Browse files Browse the repository at this point in the history
  • Loading branch information
int8-ptr committed May 11, 2024
1 parent 4e1434f commit 36ae6f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion ipc_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package client

import (
"os"
"reflect"
"testing"
)

var ipctest = NewClient("fe7b748eb668136dd0558b7c8279bfcd7ab4d759_1714258749")
var ipctest = MustClient(os.Getenv("HYPRLAND_INSTANCE_SIGNATURE"))

func Test_ipc_Clients(t *testing.T) {
got, err := ipctest.Clients()
Expand Down
13 changes: 8 additions & 5 deletions ipc_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,14 @@ type Devices struct {
}

type Version struct {
Branch string `json:"branch"`
Commit string `json:"commit"`
Dirty bool `json:"dirty"`
CommitMessage string `json:"commit_message"`
Flags []interface{} `json:"flags"`
Branch string `json:"branch"`
Commit string `json:"commit"`
Dirty bool `json:"dirty"`
CommitMessage string `json:"commit_message"`
CommitDate string `json:"commit_date"`
Tag string `json:"tag"`
Commits string `json:"commits"`
Flags []string `json:"flags"`
}

type CursorPos struct {
Expand Down

0 comments on commit 36ae6f7

Please sign in to comment.