(filename string, parent string)
| 232 | } |
| 233 | |
| 234 | func (p *PatchBuilder) GetFileStatus(filename string, parent string) PatchStatus { |
| 235 | if parent != p.To { |
| 236 | return UNSELECTED |
| 237 | } |
| 238 | |
| 239 | info, ok := p.fileInfoMap[filename] |
| 240 | if !ok { |
| 241 | return UNSELECTED |
| 242 | } |
| 243 | |
| 244 | return info.mode |
| 245 | } |
| 246 | |
| 247 | func (p *PatchBuilder) GetFileIncLineIndices(filename string) ([]int, error) { |
| 248 | info, err := p.getFileInfo(filename) |
no outgoing calls
no test coverage detected