Skip to content

Commit 4c15e83

Browse files
committed
Move group consts to groups.go
1 parent c0b6f99 commit 4c15e83

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

groups.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ package main
22

33
import "strings"
44

5+
const (
6+
localDevice = "local"
7+
networkDevice = "network"
8+
fuseDevice = "fuse"
9+
specialDevice = "special"
10+
loopsDevice = "loops"
11+
bindsMount = "binds"
12+
)
13+
514
type FilterOptions struct {
615
HiddenDevices map[string]struct{}
716
OnlyDevices map[string]struct{}

main.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ import (
1212
"golang.org/x/crypto/ssh/terminal"
1313
)
1414

15-
const (
16-
localDevice = "local"
17-
networkDevice = "network"
18-
fuseDevice = "fuse"
19-
specialDevice = "special"
20-
loopsDevice = "loops"
21-
bindsMount = "binds"
22-
)
23-
2415
var (
2516
Version = ""
2617
CommitSHA = ""

0 commit comments

Comments
 (0)