[physfs] rename support?

Ryan C. Gordon icculus at clutteredmind.org
Sat May 24 06:02:39 EDT 2003


> Would renaming files in the write dir be a desirable feature to add to
> the api?

How useful is renaming between two points in the write dir? Almost
always, people will want to copy from a search path to the write dir.

Plus the misery of moving between two filesystem (errno == EXDEV)...I'm
inclined to say this is better handled at a higher level (open new file
for write, dump data, close, delete old file), at the expense of
efficiency and the risk of running out of space during the copy.

--ryan.





More information about the physfs mailing list