You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we iterate over the commits, we can use the changed_methods method (class ModifiedFile) to identify the list of methods that were changed.
However, in the previous code snippets the m5 method is identified as a new method.
Is there a way to identify that the method has been renamed?
The text was updated successfully, but these errors were encountered:
ricardojob
changed the title
How identify when a method is renamed.
How to identify when a method is renamed.
Nov 29, 2023
I often need to identify when a method is renamed.
For example, in the following codes, we have two versions of the
Sample
class.We can see that there were two changes to this commit.
On line 3,
print("added")
was added and, on line 2, them3
method was renamed tom5
.When we iterate over the commits, we can use the
changed_methods
method (class ModifiedFile) to identify the list of methods that were changed.However, in the previous code snippets the
m5
method is identified as a new method.Is there a way to identify that the method has been renamed?
The text was updated successfully, but these errors were encountered: