1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/content/github/collaborating-with-issues-and-pull-requests/finding-changed-methods-and-functions-in-a-pull-request.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

2.0 KiB

title, intro, redirect_from, versions
title intro redirect_from versions
Finding changed methods and functions in a pull request You can quickly find proposed changes to a method or function in a pull request in *.go*, *.js*, *.ts*, *.py*, *.php*, and *.rb* files.
/articles/finding-changed-methods-and-functions-in-a-pull-request
free-pro-team enterprise-server
* *

Anyone with read access to a repository can see a summary list of the functions and methods changes in certain files of a pull request.

The summary list of methods and functions is created from these supported file types:

  • Go
  • JavaScript (includes Typescript, Flow, and other types of JavaScript)
  • PHP
  • Python
  • Ruby

{% data reusables.repositories.sidebar-pr %} 2. In the list of pull requests, click the pull request where you'd like to find the changed functions and methods. {% data reusables.repositories.changed-files %} 4. To see a summary list of the changed functions and methods, click Jump to.... Jump to drop-down menu 5. Select the changed function or method from the drop-down menu. You can also enter the name of the function or method to filter results. Filter function and methods

{% note %}

Note: If you don't see the functions or methods you expected, confirm that your code compiles and doesn't contain errors. Only functions and methods changed in this pull request and found in .go, .js, .ts, .py, .php, and .rb files appear in the drop-down menu.

{% endnote %}

  1. You'll be redirected to the first line of the function or method you selected. view function or method in files changed

Further reading