Client: add method GetPartition(), make partition private
This commit is contained in:
@@ -50,9 +50,9 @@ class Storage;
|
||||
class Client final
|
||||
: FullyBufferedSocket, TimeoutMonitor,
|
||||
public boost::intrusive::list_base_hook<boost::intrusive::link_mode<boost::intrusive::normal_link>> {
|
||||
public:
|
||||
Partition &partition;
|
||||
|
||||
public:
|
||||
unsigned permission;
|
||||
|
||||
/** the uid of the client process, or -1 if unknown */
|
||||
@@ -188,6 +188,10 @@ public:
|
||||
*/
|
||||
void AllowFile(Path path_fs) const;
|
||||
|
||||
Partition &GetPartition() {
|
||||
return partition;
|
||||
}
|
||||
|
||||
gcc_pure
|
||||
Instance &GetInstance();
|
||||
|
||||
|
Reference in New Issue
Block a user