MCPcopy Create free account
hub / github.com/badyun/AShare / constructor

Method constructor

utils/cloud.js:4–6  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

2const db = require('./db');
3module.exports = class {
4 constructor(id) {
5 this.info = db('account').find({ id: id }).value()
6 }
7
8 // 登录
9 async login(refresh_token) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected