HomeClusterLabs Projects

Refactor: libcrmcommon: Rename insert_prefix() to insert_spaces()

Description

Refactor: libcrmcommon: Rename insert_prefix() to insert_spaces()

It's used to insert a prefix of (2 * depth) spaces, but typically when
we use "prefix" we mean a diff prefix (like "++") or a descriptive
prefix (like where the XML came from). This helps avoid confusion.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Dec 20 2022, 10:04 PM
Parents
rPc90237d878e2: Refactor: libcrmcommon: Use XML created prefix constant in more places
Branches
Unknown
Tags
Unknown