glasser, dlr, me


r25521 | lgo | 2007-06-24 07:01:40 -0500 (Sun, 24 Jun 2007)

Make svn_client_info() return the size or working size of a file or
folder too since this information is already available and comes at no
cost. The information is only available through the API; it's not printed
by 'svn info'.

Patch by: Stefan K√ľng <>
Review by: glasser, dlr, me
(Tweaked by dlr, me)

* subversion/include/svn_client.h
 (struct svn_info_t): Add members working_size and size.
 (global): Add new define SVN_INFO_SIZE_UNKNOWN for unknown size.

* subversion/libsvn_client/info.c
 (build_info_from_dirent, build_info_from_entry): Adjust accordingly.