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