code: func (lbs *linkedBlobStatter) resolveWithLinkFunc(ctx context.Context, dgst digest.Digest, linkPathFn linkPathFunc) (digest.Digest, error) {
  	blobLinkPath, err := linkPathFn(lbs.repository.Named().Name(), dgst)
  	if err != nil {
  		return "", err
  	}
  
  	return lbs.blobStore.readlink(ctx, blobLinkPath)
  }
docs: // resolveTargetWithFunc allows us to read a link to a resource with different
  // linkPathFuncs to let us try a few different paths before returning not
  // found.