Show More
@@ -34,7 +34,7 b' class lfsvfs(vfsmod.vfs):' | |||||
34 | return super(lfsvfs, self).join(path[0:2], path[2:]) |
|
34 | return super(lfsvfs, self).join(path[0:2], path[2:]) | |
35 |
|
35 | |||
36 | def walk(self, path=None, onerror=None): |
|
36 | def walk(self, path=None, onerror=None): | |
37 |
"""Yield (dirpath, |
|
37 | """Yield (dirpath, [], oids) tuple for blobs under path | |
38 |
|
38 | |||
39 | Oids only exist in the root of this vfs, so dirpath is always ''. |
|
39 | Oids only exist in the root of this vfs, so dirpath is always ''. | |
40 | """ |
|
40 | """ | |
@@ -53,7 +53,7 b' class lfsvfs(vfsmod.vfs):' | |||||
53 | oids.extend([dirpath + f for f in files |
|
53 | oids.extend([dirpath + f for f in files | |
54 | if _lfsre.match(dirpath + f)]) |
|
54 | if _lfsre.match(dirpath + f)]) | |
55 |
|
55 | |||
56 |
yield ('', |
|
56 | yield ('', [], oids) | |
57 |
|
57 | |||
58 | class filewithprogress(object): |
|
58 | class filewithprogress(object): | |
59 | """a file-like object that supports __len__ and read. |
|
59 | """a file-like object that supports __len__ and read. |
General Comments 0
You need to be logged in to leave comments.
Login now