Skip to content

Use ffate or pako for zlib for packfile handling #31

@SomajitDey

Description

@SomajitDey

https://github.com/101arrowz/fflate
https://github.com/nodeca/pako

Packfile doc: https://git-scm.com/docs/pack-format
Protocol v2 doc: https://git-scm.com/docs/protocol-v2#_packet_line_framing

Example for talking Git:

curl -H "Git-Protocol: version=2" -H "Content-Type: application/x-git-upload-pack-request" --data-binary @req-body https://github.com/git/git.git/git-upload-pack

where the file req-body contains the packet-line framed request body:

0014command=ls-refs
00010021ref-prefix refs/tags/v2.49.1
0000

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