sapling/eden/fs/fuse/Invalidation.h

27 lines
534 B
C
Raw Normal View History

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2.
*/
#pragma once
namespace facebook {
namespace eden {
/**
* If a return value, whether the caller is responsible for invalidating the
* kernel's cache.
*
* If an argument, whether the callee is responsible for invalidating the
* kernel's cache.
*/
enum class InvalidationRequired : bool {
No,
Yes,
};
} // namespace eden
} // namespace facebook