encukou / gitpathlib

Object-oriented paths in Git repositories
https://pypi.python.org/pypi/gitpathlib/0.2
MIT License
6 stars 3 forks source link

as_posix() is not implemented #4

Open rossburton opened 3 years ago

rossburton commented 3 years ago

As the title:

    print(h.as_posix())
TypeError: 'NotImplementedType' object is not callable
encukou commented 3 years ago

I don't think Git paths can be meaningfully converted to POSIX paths. What's your use case?

rossburton commented 3 years ago

I wanted a path I could pass to manual git commands.

rossburton commented 3 years ago

gitpathlib is awesome, by the way. :)