Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular-ui-tree/angular-ui-tree
/ mountFolder
Function
mountFolder
tasks/server.js:19–21 ·
view source on GitHub ↗
(connect, dir)
Source
from the content-addressed store, hash-verified
17
root:
'examples'
,
18
middleware:
function
(connect) {
19
function
mountFolder(connect, dir) {
20
return
connect.static(require(
'path'
).resolve(dir));
21
}
22
23
return
[
24
require(
'connect-livereload'
)({ port: livereloadPort }),
Callers
1
server.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected