It's intended to be able to be called for multiple bundles. You probably
shouldn't call it for the same bundle, multiple times, but that's a pretty
rare case.

On Thu, Jan 17, 2013 at 12:01 PM, Karl Stenerud <notifications@github.com>wrote:

> In Zinc/ZincRepo.m:
>
> >
> > -    ZincManifest* manifest = [ZincManifest manifestWithPath:manifestPath error:&error];
> > -    if (manifestPath == nil) {
> > -        [taskRef addError:error];
> > -        return taskRef;
> > +    @synchronized(self.localFilesBySHA) {
> > +        NSArray* allFiles = [manifest allFiles];
>
> I'm not fully knowledgeable as to how this method fits into a normal usage
> pattern; I'm just noticing that if this method ever gets called twice it
> will add more local files to the existing dictionary without clearing the
> dictionary first.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mindsnacks/Zinc-ObjC/pull/47/files#r2686703>.
>
>