0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Github の Pull request にて変更ファイルの一覧を取得したい

Posted at

該当 Pull request の Files changed タブを表示して、Chrome の デベロッパー ツール > コンソールにて下記を実行するとファイルパスの一覧が取得出来る

[...document.querySelectorAll('.file-info>.Truncate>a')].map(x => x.title)

取得例

[...document.querySelectorAll('.file-info>.Truncate>a')].map(x => x.title)
(16) ['extras/completion/completion.bash', 'extras/completion/completion.fish', 'extras/completion/completion.zsh', 'extras/completion/templates/completion.bash.j2', 'extras/completion/templates/completion.fish.j2', 'extras/completion/templates/completion.zsh.j2', 'extras/httpie-completion.bash', 'extras/httpie-completion.fish', 'extras/scripts/completion/__init__.py', 'extras/scripts/completion/bash.py', 'extras/scripts/completion/completion_flow.py', 'extras/scripts/completion/generate_completion.py', 'extras/scripts/completion/zsh.py', 'httpie/cli/definition.py', 'httpie/cli/options.py', 'httpie/output/ui/rich_help.py']
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?