Download wp-calypso/client/dashboard/utils/site-atomic-transfers.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/utils/site-atomic-transfers.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/dashboard/utils/site-atomic-transfers.ts
-
curl -L -o site-atomic-transfers.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/utils/site-atomic-transfers.ts
313 Bytes
| import type { AtomicTransferStatus } from '../data/types'; | |
| export function isAtomicTransferInProgress( status: AtomicTransferStatus ) { | |
| const inProgressStatuses: AtomicTransferStatus[] = [ | |
| 'pending', | |
| 'active', | |
| 'provisioned', | |
| 'relocating_switcheroo', | |
| ]; | |
| return inProgressStatuses.includes( status ); | |
| } | |