public static LocalCall < Result > move ( String src , String dst ) { Map < String , Object > args = new LinkedHashMap <> ( ) ; args . put ( "src" , src ) ; args . put ( "dst" , dst ) ; return new LocalCall <> ( "file.move" , Optional . empty ( ) , Optional . of ( args ) , new TypeToken < Result > ( ) { } ) ; }
Move a file or directory from src to dst