MCPcopy Index your code
hub / github.com/github/docs / allowIndex

Function allowIndex

tests/rendering/block-robots.js:5–7  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

3import enterpriseServerReleases from '../../lib/enterprise-server-releases.js'
4
5function allowIndex(path) {
6 return !blockIndex(path)
7}
8
9describe('block robots', () => {
10 it('allows crawling of the homepage and English content', async () => {

Callers 1

block-robots.jsFile · 0.85

Calls 1

blockIndexFunction · 0.90

Tested by

no test coverage detected