Closed bdewilde closed 8 years ago
Which one is missing? Is it the source file (path/to/repo/.git/lfs/objects/c0/57/c05745c4a7564988bcc0396492dcb39f678a2c467c867d515d8733f9c7d58749
) or the destination folder (path/to/another/dir/
)?
The source file exists ā there's a binary file at that location whose contents I can indeed see. So it must have been an issue with the destination folder.
In fact, after trying a bunch of things, I got this to work by creating a subdirectory structure under the destination folder that exactly matched that in the repo. That was unexpected to me, but maybe a deliberate design decision on your part! A couple usage examples might clarify everything, I was probably just misunderstanding your intended use. š
Thanks for the quick response!
The checkout_dir
is supposed to be an existing checkout of the git repo, so the code is built on the assumption that the sub-directories already exist.
A pull request to add support for downloading all the files in a single flat directory is welcome, if that's your use case. :-)
Hey, I've tried to use this package both from the command line and as a Python library, but in both cases get a
FileNotFoundError
:I assume it's user error, but can't figure out what I'm doing wrong. Any help would be much appreciated! Thanks.