Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dashnowords/imfe
/ uploadFileMock
Function
uploadFileMock
chapter22/upload.js:40–43 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
39
// 虚拟的上传函数
40
function
uploadFileMock(){
41
shell.mv(
'./public.zip'
,
'./usr1/server/'
);
42
console.log(
'上传完成'
);
43
}
44
45
//将dist目录上传至正式环境
46
/*
function
uploadFile() {
Callers
1
startZip
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected