Skip to content

failed to understand http_test.go #11

@chrislusf

Description

@chrislusf

I failed to understand this http download example:

https://github.com/Redundancy/go-sync/blob/master/http_test.go#L68

It is using the to-be-downloaded reference data to calculate the referenceFileIndex and checksumLookup, on the client side, to fetch the reference data from the server side?

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