mountinfo: remove unused functions

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2017-05-06 16:32:46 +00:00
parent 0f21829c2e
commit e37c337a3b
21 changed files with 12 additions and 1352 deletions

View File

@@ -1,4 +1,4 @@
package mount
package mountinfo
// Info reveals information about a particular mounted filesystem. This
// struct is populated from the content in the /proc/<pid>/mountinfo file.
@@ -38,3 +38,8 @@ type Info struct {
// VfsOpts represents per super block options.
VfsOpts string
}
// GetMounts retrieves a list of mounts for the current running process.
func GetMounts() ([]*Info, error) {
return parseMountTable()
}