rename

open suspend fun rename(fileIndex: Int, newName: String)

Rename the file at fileIndex to newName, the counterpart of libtorrent's async_rename_file. newName is a torrent-relative path ('/'-separated). The default is a no-op for backends without on-disk file names.