mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
librgw: add pseudo() accessor
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
This commit is contained in:
parent
fc505f4a12
commit
3e6e4ed25c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user