Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/MrNothing/AI-Blocks
/ isDirectory
Function
isDirectory
Sources/src/Model/Objects/Script.js:4–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
const
{ lstatSync, readdirSync } = require(
'fs'
)
3
const
{ join } = require(
'path'
)
4
const
isDirectory = source => lstatSync(source).isDirectory()
5
6
export
default
class
Script{
7
constructor(id, source) {
Callers
1
findFileInFolder
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected