Dereference symlinks
Node fs.CopyOptions TypeScript interface | API Reference | Bun BuildDocsReferenceGuidesBlogDiscord/node:fs/CopyOptionsPdereferencePerrorOnExistPfilterPforcePmodePpreserveTimestampsPrecursivePverbatimSymlinks BuildDocsReferenceGuidesBlogDiscord /node:fs/CopyOptionsPdereferencePerrorOnExistPfilterPforcePmodePpreserveTimestampsPrecursivePverbatimSymlinks fs.CopyOptionsinterface CopyOptionsdereference?: boolean errorOnExist?: boolean filter?: (source: string, destination: string) => boolean | Promiseboolean> force?: boolean mode?: number preserveTimestamps?: boolean recursive?: boolean verbatimSymlinks?: boolean
Search the reference...
/
interface
When force is false, and the destination exists, throw an error.
Function to filter copied files/directories. Return true to copy the item, false to ignore it.
Overwrite existing file or directory. _The copy operation will ignore errors if you set this to false and the destination exists. Use the errorOnExist option to change this behavior.
Modifiers for copy operation. See mode flag of ()
When true timestamps from src will be preserved.
Copy directories recursively.
When true, path resolution for symlinks will be skipped
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Node fs.CopyOptions TypeScript interface | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for interface node:fs.CopyOptions | Bun