Required Instance Methodtuist.filesystem 0.7.9FileSystem

copy(_:to:)

Given a path, it copies the file or directory to another path.

FileSystem.swift:252
func copy(_ from: AbsolutePath, to: AbsolutePath) async throws

Parameters

from

The path to the file or directory to be copied.

to

The path to copy the file or directory to.