Commit graph

13 commits

Author SHA1 Message Date
ae0e8a37d3 mufs: cast offsets to long for comparison in mufs_seek() 2017-06-14 14:13:42 +02:00
7be03f4a60 mufs: delete the tree object of a file in mufs_close() 2017-06-14 13:49:49 +02:00
59a71a4608 mufs: return tree as an argument in resolve_path() and free tree objects where necessary 2017-06-14 12:47:25 +02:00
a45be58d26 mufs: add subtree argument to mkpath() to create a path for an existing tree object 2017-06-14 12:18:07 +02:00
ab233bfd33 mufs: properly sync file size and check file size in mufs_write() and mufs_read() respectively 2017-06-12 17:30:12 +02:00
2cac788ba7 mufs: create file when opening a file for writing 2017-06-12 17:20:23 +02:00
65c1fc28d3 mufs: implement mufs_unlink() 2017-06-12 15:37:22 +02:00
26b0ccb405 mufs: optionally record the type and file_size in resolve_path() 2017-06-12 13:48:43 +02:00
a20c1a8ed4 mufs: implement mufs_seek() to seek and tell the position within a file 2017-06-12 13:04:46 +02:00
9ef95baac3 mufs: implement mufs_sync_tree() to sync tree objects to disk 2017-06-12 12:59:01 +02:00
2c1079d0f4 mufs: implement modes for read, write and append in mufs_open() 2017-06-12 12:53:20 +02:00
a65cdbfedf mufs: generalise mufs_create() and mufs_mkdir() into mufs_mkpath() 2017-06-11 19:27:53 +02:00
1c736c3324 mufs: add support for reading and writing files 2017-06-11 17:42:32 +02:00