[#absl-Cord-InlineRep-CommitTree] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::xref:absl/Cord.adoc[InlineRep]::CommitTree :relfileprefix: ../../../ :mrdocs: Commits a newly created or updated `rep` root value into this cord. == Synopsis Declared in `<absl/strings/cord.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void CommitTree( xref:absl/Cord.adoc[CordRep] const* old_rep, xref:absl/Cord.adoc[CordRep]* rep, xref:absl/Cord.adoc[CordzUpdateScope] const& scope, xref:absl/Cord.adoc[MethodIdentifier] method); ---- == Parameters [cols="1,4"] |=== | Name| Description | *old_rep* | The previous root value of the cord. | *rep* | The new root value to commit. | *scope* | The update scope guarding any referenced CordzInfo. | *method* | The originating public API method, for Cordz sampling. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#