Switch to side-by-side view
--- a/src/rcldb/rcldoc.h +++ b/src/rcldb/rcldoc.h @@ -232,6 +232,18 @@ } return true; } + + /* Is this document stored as a regular filesystem file ? + * (as opposed to e.g. a webcache file), not a subdoc, + */ + bool isFsFile() { + string backend; + getmeta(keybcknd, &backend); + if (!backend.empty() && backend.compare("FS")) + return false; + return true; + } + void dump(bool dotext=false) const;