summaryrefslogtreecommitdiff
path: root/src/buildstream/node.pxd
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-07-10 16:54:06 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-15 14:14:03 +0000
commitee642d79724495343521949f1268b9a7068c267f (patch)
treea2949775a91cb8b17c35f97bcde0ee8e384a44e4 /src/buildstream/node.pxd
parent71cffad863f89d1d53115bb3af36c0d0cf70ce6a (diff)
downloadbuildstream-ee642d79724495343521949f1268b9a7068c267f.tar.gz
node: Rename 'copy' to 'clone'
A 'clone' operation has an implicit understanding that it is expensive, which is not the case of a 'copy' operation, which is more usually a shallow copy. Therefore renaming to 'clone'
Diffstat (limited to 'src/buildstream/node.pxd')
-rw-r--r--src/buildstream/node.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/node.pxd b/src/buildstream/node.pxd
index 19f0a223e..39538da0a 100644
--- a/src/buildstream/node.pxd
+++ b/src/buildstream/node.pxd
@@ -27,7 +27,7 @@ cdef class Node:
cdef int column
# Public Methods
- cpdef Node copy(self)
+ cpdef Node clone(self)
cpdef ProvenanceInformation get_provenance(self)
# Private Methods used in BuildStream