Show More
@@ -190,12 +190,11 b' def listlfiles(repo, rev=None, matcher=N' | |||
|
190 | 190 | if rev is not None or repo.dirstate[f] != '?'] |
|
191 | 191 | |
|
192 | 192 | def instore(repo, hash, forcelocal=False): |
|
193 |
'''Return true if a largefile with the given hash exists in the |
|
|
194 | cache.''' | |
|
193 | '''Return true if a largefile with the given hash exists in the store''' | |
|
195 | 194 | return os.path.exists(storepath(repo, hash, forcelocal)) |
|
196 | 195 | |
|
197 | 196 | def storepath(repo, hash, forcelocal=False): |
|
198 |
'''Return the correct location in the repository largefiles |
|
|
197 | '''Return the correct location in the repository largefiles store for a | |
|
199 | 198 | file with the given hash.''' |
|
200 | 199 | if not forcelocal and repo.shared(): |
|
201 | 200 | return repo.vfs.reljoin(repo.sharedpath, longname, hash) |
General Comments 0
You need to be logged in to leave comments.
Login now