-
Notifications
You must be signed in to change notification settings - Fork 699
Closed
Description
Hello! I tried to retrieve a binary blob (a 13k PNG file) using the #wip branch (on OSX):
Git.Repo.open(REPO_PATH, function(error, repo) {
repo.getBlob(oid, function(error, blob) {
var content = blob.content();
if (blob.isBinary()) {
fs.writeFileSync('BROKEN.png', content);
}
});
});
The first 4 or 5 bytes seem to match (they are ffd8 ffe0 00) but the rest of the bytes seem to be random memory; they change on subsequent retrievals of the same blob.
However, text files seem to work. Am I doing something dumb?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels