"use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=exports&&exports.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!exports2.hasOwnProperty(p)&&__createBinding(exports2,m,p)},_a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.FileSystem=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),fs=require("fs"),os=require("os"),path=require("path"),copy_1=require("./copy"),fingerprint_1=require("./fingerprint");__exportStar(require("./ignore"),exports),__exportStar(require("./options"),exports);class FileSystem{static copyDirectory(srcDir,destDir,options={},rootDir){try{jsiiDeprecationWarnings.aws_cdk_lib_CopyOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.copyDirectory),error}return copy_1.copyDirectory(srcDir,destDir,options,rootDir)}static fingerprint(fileOrDirectory,options={}){try{jsiiDeprecationWarnings.aws_cdk_lib_FingerprintOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.fingerprint),error}return fingerprint_1.fingerprint(fileOrDirectory,options)}static isEmpty(dir){return fs.readdirSync(dir).length===0}static get tmpdir(){return FileSystem._tmpdir||(FileSystem._tmpdir=fs.realpathSync(os.tmpdir())),FileSystem._tmpdir}static mkdtemp(prefix){return fs.mkdtempSync(path.join(FileSystem.tmpdir,prefix))}}exports.FileSystem=FileSystem,_a=JSII_RTTI_SYMBOL_1,FileSystem[_a]={fqn:"aws-cdk-lib.FileSystem",version:"2.21.0"};
//# sourceMappingURL=index.js.map
