Skip to content

ZincBundleCloneTask leaves Documents directory with double the files #66

@marksands

Description

@marksands

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions