'Get this file\'s size.'

def size(self):

    if (self._cached_size == None):
        debug1(('<<<<File.size()    is    calculating    (for    %r)...\n' % self.name))
        if (self.bupmode == git.BUP_CHUNKED):
            self._cached_size = _total_size(self.hash, repo_dir=self._repo_dir)
        else:
            self._cached_size = _chunk_len(self.hash, repo_dir=self._repo_dir)
        debug1('<<<<File.size()    done.\n')
    return self._cached_size
