poolName static method

String poolName(
  1. String ref
)

Folder name for the workspaces that build this ref, so each ref keeps its own build caches.

Implementation

static String poolName(String ref) =>
    'ref-${ref.replaceAll(RegExp(r'[^A-Za-z0-9._-]'), '_')}';