Required Instance Methodtuist.filesystem 0.7.9FileSystem

move(from:to:options:)

Moves a file or directory from one path to another.

FileSystem.swift:116
func move(from: AbsolutePath, to: AbsolutePath, options: [MoveOptions]) async throws

Parameters

from

The path to move the file or directory from.

to

The path to move the file or directory to.

options

Options to configure the moving operation.