Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/sync-fs/lib/conat/syncfs-server.ts
1503 views
1
/*
2
SyncFS Server Service, which runs in the home base.
3
*/
4
5
import { createSyncFsServerService } from "@cocalc/conat/service/syncfs-server";
6
import { type SyncFS } from "../index";
7
8
export async function initConatServerService({
9
syncfs,
10
project_id,
11
}: {
12
syncfs: SyncFS;
13
project_id: string;
14
}) {
15
console.log("not used at all yet", typeof syncfs);
16
const impl = {};
17
return await createSyncFsServerService({
18
project_id,
19
impl,
20
});
21
}
22
23