Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1024947 // renameFileToUniqueName

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1699L/11K).

1  
svoid renameFileToUniqueName(File f) {
2  
  if (!fileExists(f)) ret;
3  
  renameFileVerbose(f, makeFileNameUnique(f));
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024947
Snippet name: renameFileToUniqueName
Eternal ID of this version: #1024947/1
Text MD5: f7420cb4104027e67483a778a05f1cfd
Transpilation MD5: 08d1e509bbeb2559e5138addc4451d35
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-31 13:49:24
Source code size: 117 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 205 / 285
Referenced in: [show references]