checkTarget
此内容尚不支持你的语言。
const checkTarget: ( directory: string,) => Effect.Effect< boolean, CreateError | PlatformError.PlatformError, FileSystem.FileSystem | Path.Path>Defined in: index.ts:240
Fails unless the target does not exist or is a directory that holds nothing but ignorable entries. Succeeds with whether it holds any.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
directory |
string |
Returns
Section titled “Returns”Effect.Effect<boolean, |
CreateError |
PlatformError.PlatformError, FileSystem.FileSystem | Path.Path>