We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
file-finder
1 parent 66a8764 commit 012c139Copy full SHA for 012c139
source/index.ts
@@ -345,6 +345,12 @@ export const _isSingleFile = [
345
'https://github.com/sindresorhus/refined-github/blob/fix-narrow-diff/distribution/content.css',
346
'https://github.com/sindresorhus/refined-github/blob/master/edit.txt'
347
];
348
+
349
+export const isFileFinder = (): boolean => /^find\//.test(getRepoPath()!);
350
+export const _isFileFinder = [
351
+ 'https://github.com/sindresorhus/refined-github/find/master'
352
+];
353
354
export const isSingleGist = (): boolean => isGist() && /^\/(gist\/)?[^/]+\/[0-9a-f]{32}$/.test(location.pathname);
355
export const _isSingleGist = [
356
'https://gist.github.com/sindresorhus/0ea3c2845718a0a0f0beb579ff14f064'
0 commit comments