Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: replace uses of archive.CanonicalTarNameForPath #11910

Merged
merged 1 commit into from
Jun 17, 2024

Commits on Jun 16, 2024

  1. build: replace uses of archive.CanonicalTarNameForPath

    This function is an alias for filepath.IsAbs and we are considering deprecating
    and/or removing this function in the archive package, so removing its uses
    helps transitioning if we decide to deprecate and/or remove it.
    
    [docker/cli@fb0788f] also added a normalize step in TrimBuildFilesFromExcludes,
    so that callers are not _required_ to first normalize the path, so the
    normalizeation may be redunant, but keeping the normalization as this variable
    is used further down the code.
    
    [docker/cli@fb0788f]: docker/cli@fb0788f
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    168aa6e View commit details
    Browse the repository at this point in the history