| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c047cde5-60e4-5478-1b3d-68c0f337117d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E90E:20772A:978B87:C6AF59:6991EDE2 |
| html-safe-nonce | bcaf9342d07a543b13d9f607893ef73ad98a0ff5f885fe3ea5dc4993af0d09cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTBFOjIwNzcyQTo5NzhCODc6QzZBRjU5OjY5OTFFREUyIiwidmlzaXRvcl9pZCI6IjQ3NTQ4NjI2NzIwMjA4OTMxNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6f5a97ede30d60299243ea0013b5ecab1c64e29586c7bc19c385f76e3a2696e6 |
| hovercard-subject-tag | pull_request:459415126 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/stackbit/sourcebit/pull/18/files |
| twitter:image | https://avatars.githubusercontent.com/u/4162329?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4162329?s=400&v=4 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/stackbit/sourcebit git https://github.com/stackbit/sourcebit.git |
| octolytics-dimension-user_id | 38996451 |
| octolytics-dimension-user_login | stackbit |
| octolytics-dimension-repository_id | 232136536 |
| octolytics-dimension-repository_nwo | stackbit/sourcebit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 232136536 |
| octolytics-dimension-repository_network_root_nwo | stackbit/sourcebit |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackbit%2Fsourcebit%2Fpull%2F18%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackbit%2Fsourcebit%2Fpull%2F18%2Ffiles |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=stackbit%2Fsourcebit |
| Reload | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| Reload | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| Reload | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
|
stackbit
| https://patch-diff.githubusercontent.com/stackbit |
| sourcebit | https://patch-diff.githubusercontent.com/stackbit/sourcebit |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fstackbit%2Fsourcebit |
|
Fork
24
| https://patch-diff.githubusercontent.com/login?return_to=%2Fstackbit%2Fsourcebit |
|
Star
303
| https://patch-diff.githubusercontent.com/login?return_to=%2Fstackbit%2Fsourcebit |
|
Code
| https://patch-diff.githubusercontent.com/stackbit/sourcebit |
|
Issues
2
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/issues |
|
Pull requests
9
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/wiki |
|
Security
0
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/security |
|
Insights
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pulse |
|
Code
| https://patch-diff.githubusercontent.com/stackbit/sourcebit |
|
Issues
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/actions |
|
Projects
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/wiki |
|
Security
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/security |
|
Insights
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fstackbit%2Fsourcebit%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fstackbit%2Fsourcebit%2Fissues%2Fnew%2Fchoose |
| eduardoboucas | https://patch-diff.githubusercontent.com/eduardoboucas |
| master | https://patch-diff.githubusercontent.com/stackbit/sourcebit/tree/master |
| diff-algorithm | https://patch-diff.githubusercontent.com/stackbit/sourcebit/tree/diff-algorithm |
|
Conversation
7
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18 |
|
Commits
3
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/commits |
|
Checks
0
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
|
Add diffing logic
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#top |
|
Show all changes
3 commits
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
|
a720577
Add diffing logic
eduardoboucas Jul 30, 2020
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/commits/a720577208a731810bbd19f86644d4969839b81f |
|
99d1f3d
Show diff in initial data
eduardoboucas Jul 30, 2020
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/commits/99d1f3d0bbf65acc12286c140a9dd32cfbd534a2 |
|
8a021f6
Add diffing to file writing stage
eduardoboucas Aug 4, 2020
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/commits/8a021f6e0821442c6f45b0f5d238c8213e9ba650 |
|
Clear filters
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
|
file-writers.js
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-49c37b34d944c29e3e75241132ee33494341d9fced5a9e4f39f4f69d76030e43 |
|
file-writers.test.js
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-36c7183dde635b62a2b037b1a1943d45740531b0863332dabfd63f0ba10d1d40 |
|
sourcebit.js
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
|
sourcebit.test.js
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-69d293c251c62164752d653fe5da3eff4f35e46eaf69aba844c8991264f6aba6 |
|
package-lock.json
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519 |
|
package.json
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
| lib/file-writers.js | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-49c37b34d944c29e3e75241132ee33494341d9fced5a9e4f39f4f69d76030e43 |
|
View file
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/blob/8a021f6e0821442c6f45b0f5d238c8213e9ba650/lib/file-writers.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/{{ revealButtonHref }} |
| lib/file-writers.test.js | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-36c7183dde635b62a2b037b1a1943d45740531b0863332dabfd63f0ba10d1d40 |
|
View file
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/blob/8a021f6e0821442c6f45b0f5d238c8213e9ba650/lib/file-writers.test.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-36c7183dde635b62a2b037b1a1943d45740531b0863332dabfd63f0ba10d1d40 |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-36c7183dde635b62a2b037b1a1943d45740531b0863332dabfd63f0ba10d1d40 |
| lib/sourcebit.js | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
|
View file
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/blob/8a021f6e0821442c6f45b0f5d238c8213e9ba650/lib/sourcebit.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/{{ revealButtonHref }} |
| smnh | https://patch-diff.githubusercontent.com/smnh |
| Aug 9, 2020 | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#r467612297 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @eduardoboucas | https://github.com/eduardoboucas |
| https://github.com/stackbithq/utils/blob/d1222b63ede765fb895668b641cb3f44c238d6ea/src/index.js#L373-L394 | https://github.com/stackbithq/utils/blob/d1222b63ede765fb895668b641cb3f44c238d6ea/src/index.js#L373-L394 |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| eduardoboucas | https://patch-diff.githubusercontent.com/eduardoboucas |
| Aug 14, 2020 | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#r470649688 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| smnh | https://patch-diff.githubusercontent.com/smnh |
| Aug 14, 2020 | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#r470834079 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
| smnh | https://patch-diff.githubusercontent.com/smnh |
| Aug 9, 2020 | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#r467614298 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| immutable.js | https://immutable-js.github.io/immutable-js/ |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| eduardoboucas | https://patch-diff.githubusercontent.com/eduardoboucas |
| Aug 14, 2020 | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#r470658142 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| smnh | https://patch-diff.githubusercontent.com/smnh |
| Aug 14, 2020 | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#r470836950 |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| smnh | https://patch-diff.githubusercontent.com/smnh |
| Aug 14, 2020 | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#r470841591 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-91b95df89f0d53a78e55f36df84fc58c789d95d03b2b0d61394253ab65a43e6c |
| lib/sourcebit.test.js | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-69d293c251c62164752d653fe5da3eff4f35e46eaf69aba844c8991264f6aba6 |
|
View file
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/blob/8a021f6e0821442c6f45b0f5d238c8213e9ba650/lib/sourcebit.test.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-69d293c251c62164752d653fe5da3eff4f35e46eaf69aba844c8991264f6aba6 |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-69d293c251c62164752d653fe5da3eff4f35e46eaf69aba844c8991264f6aba6 |
| package-lock.json | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519 |
|
View file
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/blob/8a021f6e0821442c6f45b0f5d238c8213e9ba650/package-lock.json |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files |
| package.json | https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
|
View file
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/blob/8a021f6e0821442c6f45b0f5d238c8213e9ba650/package.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
|
| https://patch-diff.githubusercontent.com/stackbit/sourcebit/pull/18/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |