]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
common/buffer: accept "-" as stdin
authorPatrick Donnelly <pdonnell@ibm.com>
Fri, 21 Mar 2025 16:53:38 +0000 (12:53 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 26 Jan 2026 15:26:46 +0000 (10:26 -0500)
commit510177ba29f944cff62a3a8730782c3be1390077
tree967d870a1dc46b41c414b4f049dc32e97b1c4d0d
parenta980cf6ce289142a49b7e5184be69d6d752c5a7f
common/buffer: accept "-" as stdin

These methods are used for reading files from tools like "authtool". Read from
stdin if the conventional "-" filename is passed.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/common/buffer.cc