Skip to content

Optimize WithDirectory via MergeOp #3662

@sipsma

Description

@sipsma
  • if src and dest have same source path (or are both "/"), then mergeop can be used directly
  • even when a copy is needed, we can still use mergeop the same way COPY --link does in dockerfiles (can expand if needed)

Similar optimizations can be made for other APIs that internally do copies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/engineAbout dagger core engine

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions