Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a lakeFS / XID time slug decoder
Decodes object names nicely, e.g. ```sh ❯ lakectl -c ~/.lakectl.s3.yaml fs --pre-sign=false stat lakefs://repo/main/50m Path: 50m Modified Time: 2024-10-28 17:52:50 +0200 IST Size: 52428800 bytes Human Size: 52.4 MB Physical Address: s3://treeverse-ariels-test-us/repos/s3-dev-repo/data/gcnl78vqmpl9eb7rqlr0/csfr6kfqmpl9eb7rqlt0,jMHnLFOwK2RtCVV_aE0iClDtfP7ehfORTH_siX9V5e8 Checksum: 4d98d5ac224a2a14a2b7efac5d100757-10 Content-Type: application/octet-stream ❯ go run ./contrib/decoder/decode_partition/ csfr6kfqmpl9eb7rqlt0 2024-10-28 15:52:49 +0000 UTC (asc) 3945-03-05 08:07:11 +0000 UTC (desc) ``` But does _not_ decode the partition name ("desc"); not sure why not. ```sh ❯ go run ./contrib/decoder/decode_partition/ gcnl78vqmpl9eb7rqlr0 2039-09-29 13:48:19 +0000 UTC (asc) 3930-04-04 10:11:41 +0000 UTC (desc) ``` (Happy to modify if reviewer can explain this!)
- Loading branch information