Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3928

file size member in status struct

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • libsvn_wc

    Description

      First reported here:
      http://svn.haxx.se/dev/archive-2011-02/0864.shtml
      Filing an issue so this won't get lost:
      
      A new field in the svn_client_status_t struct which has the size of the
      file in the working copy, or -1 if not known. For most file this
      information should be available automatically since svn_client_status
      has to do a stat() call on the file anyway to determine its file time or
      at least when comparing the size to its BASE. So if that information is
      available, I'd like to reuse that info and not have to do a stat() call
      again later, basically doubling the stat() calls and therefore hurting
      the performance a lot.
      

      Attachments

        1. 1_issue-3928-patch.txt
          3 kB
          C. Michael Pilato

        Activity

          People

            cmpilato C. Michael Pilato
            steveking Stefan Küng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: