Download wp-calypso/client/dashboard/sites/settings-caching/utils.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 154 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/sites/settings-caching/utils.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/dashboard/sites/settings-caching/utils.tsx
-
curl -L -o utils.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/sites/settings-caching/utils.tsx
154 Bytes
| import type { Site } from '../../data/types'; | |
| export function isEdgeCacheAvailable( site: Site ) { | |
| return ! site.is_private && ! site.is_coming_soon; | |
| } | |