From 3e6e4ed25c9d94a0215230bbf85b01afb00e8419 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Mon, 30 Nov 2015 17:00:21 -0500 Subject: [PATCH] librgw: add pseudo() accessor Signed-off-by: Matt Benjamin --- src/rgw/rgw_file.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/rgw_file.h b/src/rgw/rgw_file.h index aef83778ca0..5988decca9f 100644 --- a/src/rgw/rgw_file.h +++ b/src/rgw/rgw_file.h @@ -284,6 +284,7 @@ namespace rgw { bool is_bucket() const { return (fh.fh_type == RGW_FS_TYPE_DIRECTORY); } bool is_object() const { return (fh.fh_type == RGW_FS_TYPE_FILE); } bool creating() const { return flags & FLAG_CREATE; } + bool pseudo() const { return flags & FLAG_PSEUDO; } void open() { flags |= FLAG_OPEN;