Aaron Jacobs
1aba7cb8a8
Added NotImplementedFileSystem.CreateFile.
2015-03-04 14:55:50 +11:00
Aaron Jacobs
fd9dbe872e
Refactored ChildInodeEntry comments.
2015-03-04 14:55:16 +11:00
Aaron Jacobs
efe4481b2a
Added a CreateFile method.
2015-03-04 14:54:11 +11:00
Aaron Jacobs
8fc315cf58
MemFSTest.CaseSensitive
2015-03-04 14:21:56 +11:00
Aaron Jacobs
b2a8322aaa
Fixed copyright notices.
2015-03-04 08:27:42 +11:00
Aaron Jacobs
e0774d1f4b
Added support for rmdir, and memfs tests.
2015-03-03 16:15:32 +11:00
Aaron Jacobs
a956166291
Deleted MemFSTest.Rmdir_ReusesInodeID.
...
At least on OS X, the kernel doesn't relaibly send a Forget request
right after RmDir, even if the directory is not open. (This is contrary
to what the fuse low-level ops documentation says.) So there's no way to
reliably test this.
2015-03-03 16:14:37 +11:00
Aaron Jacobs
dd66a1d2bb
Expanded an example.
2015-03-03 15:17:04 +11:00
Aaron Jacobs
eec88dd31a
Disabled a test that cannot pass.
2015-03-03 15:15:58 +11:00
Aaron Jacobs
147be0630d
Added tests for the Nlink field.
2015-03-03 15:04:49 +11:00
Aaron Jacobs
651984dc1a
Only mark as unlinked in rmdir.
2015-03-03 14:56:55 +11:00
Aaron Jacobs
140bd18863
Fixed a silly test bug.
2015-03-03 14:54:22 +11:00
Aaron Jacobs
8d9962ee62
MemFSTest.Rmdir_OpenedForReading
2015-03-03 14:52:03 +11:00
Aaron Jacobs
d8905b0d05
Deallocate removed directories.
2015-03-03 14:48:21 +11:00
Aaron Jacobs
3076da562e
Fixed an inode invariants bug.
2015-03-03 14:45:39 +11:00
Aaron Jacobs
2773133448
MemFSTest.Rmdir_ReusesInodeID
2015-03-03 14:43:06 +11:00
Aaron Jacobs
01371975df
Check for empty in rmdir.
2015-03-03 14:39:29 +11:00
Aaron Jacobs
98f868c319
MemFSTest.Rmdir_NonEmpty
2015-03-03 14:34:28 +11:00
Aaron Jacobs
ea5370d6f1
MemFSTest.Rmdir_NonExistent
2015-03-03 14:33:20 +11:00
Aaron Jacobs
4d18942456
Re-use dirent gaps.
2015-03-03 14:31:15 +11:00
Aaron Jacobs
622d7a176b
Preserve the offset invariant.
2015-03-03 14:30:14 +11:00
Aaron Jacobs
400d74dbdd
Implemented inode.RemoveChild.
2015-03-03 14:29:49 +11:00
Aaron Jacobs
621df57d80
Refactored inode.LookUpChild.
2015-03-03 14:23:46 +11:00
Aaron Jacobs
57cb4ccda3
Outlined memFS.RmDir.
2015-03-03 11:28:41 +11:00
Aaron Jacobs
63408f6a0d
Added an RmDir method.
2015-03-03 11:25:50 +11:00
Aaron Jacobs
9f984e1aa6
Declared a test.
2015-03-03 11:12:50 +11:00
Aaron Jacobs
baffc23ee6
MemFSTest.Rmdir_Empty
2015-03-03 11:09:36 +11:00
Aaron Jacobs
19f7ef25c9
Fixed permissions issues in memfs, making the package support doing so.
2015-03-03 11:08:34 +11:00
Aaron Jacobs
832e800f3b
MemFSTest.Mkdir_PermissionDenied
2015-03-03 11:08:23 +11:00
Aaron Jacobs
e46341ae00
MemFSTest.Mkdir_TwoLevels
2015-03-03 11:07:24 +11:00
Aaron Jacobs
a87e1b33cf
Fixed permissions in MkDir.
2015-03-03 11:04:17 +11:00
Aaron Jacobs
c81ae6d4b3
Fixed permissions for the root.
2015-03-03 11:03:03 +11:00
Aaron Jacobs
0fde07d9fe
Fixed some build errors in hellofs.
2015-03-03 10:58:54 +11:00
Aaron Jacobs
44901edc6b
Added a header with credentials to each request.
2015-03-03 10:58:01 +11:00
Aaron Jacobs
8d99b454a8
Added documentation callout to inode_init_owner.
2015-03-03 10:54:09 +11:00
Aaron Jacobs
420fcddfac
Fixed time-related metadata.
2015-03-03 10:48:26 +11:00
Aaron Jacobs
f9e2e55ac8
Fixed some test bugs.
2015-03-03 10:41:30 +11:00
Aaron Jacobs
01878af39a
Implemented timespecToTime.
2015-03-03 10:40:52 +11:00
Aaron Jacobs
fa4c2fb864
Implemented two missing functions.
2015-03-03 10:40:04 +11:00
Aaron Jacobs
6b81f4ce58
Declared a two-level mkdir test.
2015-03-03 10:37:29 +11:00
Aaron Jacobs
605a52de92
Added better tests for statting new dirs.
2015-03-03 10:37:09 +11:00
Aaron Jacobs
79d87d5956
Added a FileSystem.MkDir method.
...
Expanded memfs to support it, including tests.
2015-03-03 09:52:24 +11:00
Aaron Jacobs
17799d45a4
MemFSTest.Mkdir_IntermediateIsFile
2015-03-03 09:52:11 +11:00
Aaron Jacobs
5d63d207bb
MemFSTest.Mkdir_IntermediateIsNonExistent
2015-03-03 09:50:31 +11:00
Aaron Jacobs
819d3ff73b
MemFSTest.Mkdir_AlreadyExists
2015-03-03 09:49:41 +11:00
Aaron Jacobs
fcbc1f761e
Fixed mtime in mkdir.
2015-03-03 09:48:12 +11:00
Aaron Jacobs
5cf0f2b6bf
Refactored newInode.
2015-03-03 09:47:36 +11:00
Aaron Jacobs
bb1539e613
Fixed a test bug.
2015-03-03 09:42:36 +11:00
Aaron Jacobs
fc7440e588
Fixed two bugs where ChildInodeEntry.Child was not filled in.
2015-03-03 09:41:45 +11:00
Aaron Jacobs
75a65d4a03
Fixed a locking bug.
2015-03-03 09:39:45 +11:00