Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZincBundleCloneTask leaves Documents directory with double the files #66

Open
marksands opened this issue Mar 11, 2013 · 0 comments
Open

Comments

@marksands
Copy link

In createBundleLinksForManifest: in ZincBundleCloneTask.m, I noticed the file manager calls linkItemAtPath:toPath:error, which leaves a copy of the asset in the objects directory and a copy in the bundle directory thus taking up twice the storage space.

Any compelling reason why this is preferred over moveItemAtPath:toPath:error:? I assumed it was for caching purposes if the network was interrupted during the cloning, but I didn't see a cleanup task being performed after the clone was complete. I'll admit I didn't dive too far into the code, but at first glance I was wondering what the preferred way to clean up directory was?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant