# tools/core/constants/file.constants.ts

> 10 lines of code and 2 definitions.

Tree: Coordination tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-constants-file-constants-ts
Source text: https://banes-lab.com/source/coordination/tools/core/constants/file.constants.ts.txt

Listed in [tools/core/constants](https://banes-lab.com/api/source/coordination/tools/core/constants.md), after [tools/core/constants/dependency.constants.ts](https://banes-lab.com/source/coordination/tools/core/constants/dependency.constants.ts.md) and before [tools/core/constants/layer.constants.ts](https://banes-lab.com/source/coordination/tools/core/constants/layer.constants.ts.md).

## Definitions

- `FILESYSTEM_REFUSALS` (lexical_declaration, line 1, exported)
- `RMDIR_REFUSALS` (lexical_declaration, line 11, exported)

## Source

```typescript
export const FILESYSTEM_REFUSALS: ReadonlySet<string> = new Set([
    "EACCES",
    "EBUSY",
    "EISDIR",
    "ELOOP",
    "ENOENT",
    "ENOTDIR",
    "EPERM",
]);

export const RMDIR_REFUSALS: ReadonlySet<string> = new Set(["EBUSY", "EEXIST", "ENOENT", "ENOTEMPTY"]);
```
