Required Instance Methodtuist.filesystem 0.7.9FileSystem

move(from:to:)

Moves a file or directory from one path to another. If the parent directory of the target path doesn’t exist, it creates it by default.

FileSystem.swift:109
func move(from: AbsolutePath, to: AbsolutePath) async throws

Parameters

from

The path to move the file or directory from.

to

The path to move the file or directory to.