public FileMode getMode(Side side) {return side == Side.OLD ? getOldMode() : getNewMode();}
public virtual FileMode GetMode(DiffEntry.Side side){return side == DiffEntry.Side.OLD ? GetOldMode() : GetNewMode();}