Files
zeekay d6423729c2 Complete rebrand from ComfyUI to Hanzo Studio
- Replace all ComfyUI references with Hanzo Studio
- Update comfy.org URLs to hanzo.ai/studio.hanzo.ai
- Change comfyanonymous to hanzoai
- Update Comfy-Org to hanzo-studio
- Rename files and directories
- Update package names and configurations
- Update documentation and README files

This is a comprehensive rebranding to align with Hanzo AI's
product suite and company identity.
2025-11-23 20:50:10 -08:00

19 lines
510 B
TypeScript

import { rm } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import path from 'node:path';
import { addRandomSuffix, pathExists } from 'tests/shared/utils';
export class TempDirectory implements AsyncDisposable {
readonly path: string = path.join(tmpdir(), addRandomSuffix('Hanzo Studio'));
toString() {
return this.path;
}
async [Symbol.asyncDispose](): Promise<void> {
if (await pathExists(this.path)) {
await rm(this.path, { recursive: true, force: true });
}
}
}