Skip to content

New API: copy() Spec #12

Open
Open
@mkrd

Description

@mkrd

Change copy() spec. Instead of allowing the from_root argument, we should just have a .cop() method without any arguments. This will copy at the current path.
and return a handle on the copy at path [].
IF we want to copy from the root. we can just do
|.at_root().copy() | instead of
|.copy(from_root=True)|

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions