mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2026-11-05 22:36:53 +08:00
Initial commit
This commit is contained in:
commit
8ba25646bd
124 files changed
+57339
No files matched your search
@@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
getBucket,
|
||||
updateBucket
|
||||
}
|
||||
const fs = require('fs')
|
||||
function getBucket(bucketName) {
|
||||
return fs.readFileSync(bucketName)
|
||||
}
|
||||
|
||||
function updateBucket(bucketName, bucket) {
|
||||
return fs.writeFileSync(bucketName, bucket)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user