Skip to content

This is a rust lib that aims to help users exchange two files' (or dirs) name easily.

License

Notifications You must be signed in to change notification settings

Mikachu2333/name_exchanger_rslib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

直接调用暴露的 exchange() 函数即可。 Use the exchange() function directly.

/// 0 => Success,1 => No Exist
///
/// 2 => Permission Denied,3 => New File Already Exists
///
/// 255 => UNKNOWN ERROR
pub extern "C" fn exchange(path1: *const c_char, path2: *const c_char) -> i32{
    ...
}

About

This is a rust lib that aims to help users exchange two files' (or dirs) name easily.

Topics

Resources

License

Stars

Watchers

Forks

Languages