220
218
def path_content_summary(self, path):
221
219
"""Get a summary of the information about path.
223
224
:param path: A relative path within the tree.
224
225
:return: A tuple containing kind, size, exec, sha1-or-link.
225
226
Kind is always present (see tree.kind()).
227
229
exec is None unless kind is file and the platform supports the 'x'
229
231
sha1-or-link is the link target if kind is symlink, or the sha1 if