Buckets:
| // Write the turbo-computed TURBO_HASH to a stamp file. | |
| // This is used as a turbo task whose only purpose is to compute | |
| // a fingerprint of all Rust inputs. Other scripts (native-cache.js) | |
| // read this stamp to get a cache key without re-hashing everything. | |
| const fs = require('fs') | |
| const path = require('path') | |
| const stamp = path.resolve(__dirname, '..', 'target', '.rust-fingerprint') | |
| if (!process.env.TURBO_HASH) { | |
| console.log('rust-fingerprint: skipping (not running under turbo)') | |
| process.exit(0) | |
| } | |
| fs.mkdirSync(path.dirname(stamp), { recursive: true }) | |
| fs.writeFileSync(stamp, process.env.TURBO_HASH) | |
| console.log(`rust-fingerprint: ${process.env.TURBO_HASH}`) | |
Xet Storage Details
- Size:
- 695 Bytes
- Xet hash:
- c455348019c26e77e25a1b1f0954eb8185934b5122ded39e3e2a9a93b5dc7def
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.