MCPcopy Create free account
hub / github.com/cloudfoundry/bosh-agent / NewLinuxFormatter

Function NewLinuxFormatter

platform/disk/linux_formatter.go:16–21  ·  view source on GitHub ↗
(runner boshsys.CmdRunner, fs boshsys.FileSystem)

Source from the content-addressed store, hash-verified

14}
15
16func NewLinuxFormatter(runner boshsys.CmdRunner, fs boshsys.FileSystem) Formatter {
17 return linuxFormatter{
18 runner: runner,
19 fs: fs,
20 }
21}
22
23func (f linuxFormatter) Format(partitionPath string, fsType FileSystemType) error {
24 existingFsType, err := f.GetPartitionFormatType(partitionPath)

Callers 2

NewLinuxDiskManagerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected