Skip to content

Commit

Permalink
Update UnpackRepoCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
puklipo committed Dec 14, 2024
1 parent a6a2668 commit efa7148
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Console/UnpackRepoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
use Revolution\Bluesky\Support\CAR;
use Revolution\Bluesky\Support\CBOR;

/**
* Sample command to unpack the actor's "CAR" file.
Expand Down Expand Up @@ -65,6 +66,9 @@ public function handle(): int
continue;
}

// TODO
$block = CBOR::normalize($block);

$path = collect(['bluesky', 'download', $name, 'repo', $collection, $cid.'.json'])
->implode(DIRECTORY_SEPARATOR);

Expand Down

0 comments on commit efa7148

Please sign in to comment.