mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-20 13:22:07 +03:00
unix: comment with suggestions for future
This commit is contained in:
parent
4a74b9b13f
commit
7b6e89fc15
@ -267,10 +267,10 @@ _unix_mkdirp(c3_c* pax_c)
|
||||
/* u3_unix_save(): save file under .../.urb/put or bail.
|
||||
**
|
||||
** XX this is quite bad, and doesn't share much in common with
|
||||
** the rest of unix.c. at minimum it should instead take pax as
|
||||
** a noun and build the C path from that. it would also be nice
|
||||
** if it could take a u3_udir or something corresponding to the
|
||||
** base directory.
|
||||
** the rest of unix.c. a refactor would probably share common
|
||||
** logic with _unix_sync_change, perhaps using openat, making
|
||||
** unx_u optional, and/or having a flag to not track the file
|
||||
** for future changes.
|
||||
*/
|
||||
void
|
||||
u3_unix_save(c3_c* pax_c, u3_atom pad)
|
||||
|
Loading…
Reference in New Issue
Block a user