Skip to content

Documentation : please specify the type of object_iter in write_pack. #23

Open
@ytrezq

Description

@ytrezq

object_iter is a list, but of what type ?
Ostream or Oinfo.

I think it would worth to precise it.

Activity

changed the title [-]Documentation : please specify the type of object_iter in write_pack ?[/-] [+]Documentation : please specify the type of object_iter in write_pack.[/+] on Nov 10, 2015
Byron

Byron commented on Nov 30, 2015

@Byron
Member

Indeed, thanks for letting me know.
I just reverse-engineered it by having a look at the tests. It seems that it expects an OPackStream compatible objects, as seen in the stream_iter() documentation.

I hope this answers your question, and would very much welcome a PR with documentation that would have helped you in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Byron@ytrezq

        Issue actions

          Documentation : please specify the type of object_iter in write_pack. · Issue #23 · gitpython-developers/gitdb