/** @babel */

export default class ChangedFile {
  constructor (oldName, newName, status, hunks) {
    this.newName = newName
    this.oldName = oldName
    this.status = status
    this.hunks = hunks
  }

  getOldFileName () {
    return this.oldName
  }

  getNewFileName () {
    return this.newName
  }

  getStatus () {
    return this.status
  }
}

/** @babel */

export default class ChangedFile {
  constructor (oldName, newName, status, hunks) {
    this.newName = newName
    this.oldName = oldName
    this.status = status
    this.hunks = hunks
  }

  getOldName () {
    return this.oldName
  }

  getNewName () {
    return this.newName
  }

  getStatus () {
    return this.status
  }
}

Rename ChangedFile methods to `getNewName` and `getOldName`