(fileName string)
| 237 | } |
| 238 | |
| 239 | func (p linux) GetFileContentsFromCDROM(fileName string) (content []byte, err error) { |
| 240 | contents, err := p.cdutil.GetFilesContents([]string{fileName}) |
| 241 | if err != nil { |
| 242 | return []byte{}, err |
| 243 | } |
| 244 | |
| 245 | return contents[0], nil |
| 246 | } |
| 247 | |
| 248 | func (p linux) GetFilesContentsFromDisk(diskPath string, fileNames []string) ([][]byte, error) { |
| 249 | return p.diskManager.GetUtil().GetFilesContents(diskPath, fileNames) |
nothing calls this directly
no test coverage detected