expandFilePath method

String expandFilePath(
  1. String filePath
)

Expand a relative path to absolute path.

Implementation

String expandFilePath(String filePath) {
  if (filePath.startsWith('/')) return filePath;
  return '${getAttributionRepoRoot()}/$filePath';
}