diff options
| author | Joseph Richey <joerichey@google.com> | 2019-08-29 08:59:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-29 08:59:18 -0700 |
| commit | 8a3acda2011e9a080ee792c1e11646e6118a4930 (patch) | |
| tree | a510fcc5419ea13b8c942241296071107c381c65 /filesystem | |
| parent | b41569d397d3e66099cde07d8eef36b2f42dd0ec (diff) | |
| parent | c5661ed3034d912a22f642326cea859969daba4e (diff) | |
Merge pull request #142 from ebiggers/goimports
Fix 'make format'-related CI failure
Diffstat (limited to 'filesystem')
| -rw-r--r-- | filesystem/mountpoint.go | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/filesystem/mountpoint.go b/filesystem/mountpoint.go index 991a573..7ef91ce 100644 --- a/filesystem/mountpoint.go +++ b/filesystem/mountpoint.go @@ -22,8 +22,16 @@ package filesystem import ( + "fmt" "io/ioutil" + "log" "os" + "path/filepath" + "sort" + "strings" + "sync" + + "github.com/pkg/errors" ) /* @@ -35,17 +43,6 @@ const char* read_mode = "r"; */ import "C" -import ( - "fmt" - "log" - "path/filepath" - "sort" - "strings" - "sync" - - "github.com/pkg/errors" -) - var ( // These maps hold data about the state of the system's mountpoints. mountsByPath map[string]*Mount |