forked from premiere/premiere-libtorrent
Add torrent_info.rename_file() to the python bindings
This commit is contained in:
parent
36317c053f
commit
277262b9b0
|
@ -123,6 +123,7 @@ void bind_torrent_info()
|
||||||
.def("file_at", &torrent_info::file_at, return_internal_reference<>())
|
.def("file_at", &torrent_info::file_at, return_internal_reference<>())
|
||||||
.def("file_at_offset", &torrent_info::file_at_offset)
|
.def("file_at_offset", &torrent_info::file_at_offset)
|
||||||
.def("files", &files, (arg("storage")=false))
|
.def("files", &files, (arg("storage")=false))
|
||||||
|
.def("rename_file", &torrent_info::rename_file)
|
||||||
|
|
||||||
.def("priv", &torrent_info::priv)
|
.def("priv", &torrent_info::priv)
|
||||||
.def("trackers", range(begin_trackers, end_trackers))
|
.def("trackers", range(begin_trackers, end_trackers))
|
||||||
|
|
Loading…
Reference in New Issue