Skip to content

Progress reporting #14

Description

@michaeljones

Thank you for the project.

Would you be open to the idea of having some kind of progress reporting behaviour for the copy? I don't have a clear sense of the best approach to progress reporting in this situation. It might end up being that the user provides a closure which is called after each file is created or with some kind event description to say if it is a file or directory and then the user would be responsible for managing that information.

I guess if the user walks the whole source directory before the copy then they'd have an idea of how many files and directories were present and so could infer some progress by keeping a tally of progress closure calls vs the total count.

I'm not sure if this makes sense. A colleague has pointed out that Window has struggled with progress reporting in this situation for a long time so it might not be that easy. It certainly would struggle in a situation with lots of small files and one or two very large files. In which case the initial directory walk would need to gather all the paths & file sizes and the progress reporting would have to report the path of each file copied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions