sapling/eden/fs/inodes
Wez Furlong c5540e446a eden: implement rename for files, add test for sed -i
Summary:
Implements basic rename(2) support.  We only do this for files at this
time as directory renames require that we recursively materialize a tree and
are a bit more complex.  I'll look at that in a follow-on diff; there's
potential for optimizing it to avoid eager materialization, but that depends on
the trie work that I'm tackling concurrently with this.

rename for files is the last piece needed to allow `sed -i` to operate correctly.

Reviewed By: bolinfest

Differential Revision: D3515361

fbshipit-source-id: 9c8cc5f9b8db6b5a9372ca9286336647f50490f8
2016-07-05 19:54:21 -07:00
..
EdenMount.cpp begin adding a new ObjectStore class 2016-06-08 19:01:13 -07:00
EdenMount.h begin adding a new ObjectStore class 2016-06-08 19:01:13 -07:00
FileData.cpp eden: implement O_EXCL open flags 2016-07-05 19:54:21 -07:00
FileData.h eden: implement O_EXCL open flags 2016-07-05 19:54:21 -07:00
TARGETS Include build files that were inadvertently excluded from the initial export. 2016-05-12 16:08:34 -07:00
TreeEntryFileHandle.cpp eden: add FileData::write, enable writes 2016-05-16 14:59:49 -07:00
TreeEntryFileHandle.h eden: add FileData::materialize 2016-05-16 14:59:49 -07:00
TreeEntryFileInode.cpp eden: implement rename for files, add test for sed -i 2016-07-05 19:54:21 -07:00
TreeEntryFileInode.h eden: implement O_EXCL open flags 2016-07-05 19:54:21 -07:00
TreeInode.cpp eden: implement rename for files, add test for sed -i 2016-07-05 19:54:21 -07:00
TreeInode.h eden: implement rename for files, add test for sed -i 2016-07-05 19:54:21 -07:00
TreeInodeDirHandle.cpp always show tree contents for (non-opaque) directories in the overlay 2016-06-15 14:24:12 -07:00
TreeInodeDirHandle.h Initial commit 2016-05-12 14:09:13 -07:00