MCPcopy Create free account
hub / github.com/coder/envbuilder / GetMounts

Method GetMounts

internal/ebutil/remount.go:164–164  ·  view source on GitHub ↗

GetMounts wraps procfs.GetMounts

()

Source from the content-addressed store, hash-verified

162type mounter interface {
163 // GetMounts wraps procfs.GetMounts
164 GetMounts() ([]*procfs.MountInfo, error)
165 // Stat wraps os.Stat
166 Stat(string) (os.FileInfo, error)
167 // MkdirAll wraps os.MkdirAll

Callers 3

Test_tempRemountFunction · 0.65
tempRemountFunction · 0.65
GetMountsMethod · 0.65

Implementers 3

Mockmounterinternal/ebutil/mock_mounter_test.go
MockmounterMockRecorderinternal/ebutil/mock_mounter_test.go
realMounterinternal/ebutil/remount.go

Calls

no outgoing calls

Tested by 1

Test_tempRemountFunction · 0.52