Page 1 of 1

Bug or documentation issue

Posted: Mon Apr 22, 2024 5:23 pm
by tua
Packer - AddPackFile()

From the help:

Code: Select all

Return value
Nonzero if the file has been successfully added to the packfile.
 If the file can't be compressed, it will be stored as is in the packfile.
I just noticed that this proc returns 0 for directories (even though they do get correctly stored).

Would you consider this to be a doc issue or a bug?

Re: Bug or documentation issue

Posted: Tue Apr 23, 2024 12:34 am
by Quin
Personally as a user I'd consider it to be a bug, typically zero return values are returned to indicate an error. Adding a directory to a pack isn't an error, at least in my eyes.