Skip to content

Commit

Permalink
Move group consts to groups.go
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Nov 1, 2020
1 parent c0b6f99 commit 4c15e83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 9 additions & 0 deletions groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ package main

import "strings"

const (
localDevice = "local"
networkDevice = "network"
fuseDevice = "fuse"
specialDevice = "special"
loopsDevice = "loops"
bindsMount = "binds"
)

type FilterOptions struct {
HiddenDevices map[string]struct{}
OnlyDevices map[string]struct{}
Expand Down
9 changes: 0 additions & 9 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ import (
"golang.org/x/crypto/ssh/terminal"
)

const (
localDevice = "local"
networkDevice = "network"
fuseDevice = "fuse"
specialDevice = "special"
loopsDevice = "loops"
bindsMount = "binds"
)

var (
Version = ""
CommitSHA = ""
Expand Down

0 comments on commit 4c15e83

Please sign in to comment.