mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
b324323ad4
Summary: Update InodeMap::onInodeUnreferenced() to take a pointer to a non-const InodeBase. This allows the methods it calls, including InodeBase::updateOverlayHeader() to be non-const. Using non-const InodeBase objects seems to make sense here since the inode is in the process of being destroyed. In a future diff I plan to update FileInode::updateOverlayHeader() to share the same code as normal file methods to ensure that the overlay file is open. This modifies the FileInode state's open refcount, so it is useful to have this method be non-const for that purpose. Reviewed By: chadaustin Differential Revision: D7407424 fbshipit-source-id: 541656c7b9b283c5e5650445de5bbdbaae3fc57f |
||
---|---|---|
.. | ||
cli | ||
docs | ||
fs | ||
hooks | ||
integration | ||
py | ||
scripts | ||
third-party | ||
AUTODEPS | ||
DEFS |