MCPcopy 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

2const { lstatSync, readdirSync } = require('fs')
3const { join } = require('path')
4const isDirectory = source => lstatSync(source).isDirectory()
5
6export default class Script{
7 constructor(id, source) {

Callers 1

findFileInFolderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected