mirror of
				https://github.com/mickael-kerjean/filestash.git
				synced 2025-11-01 02:43:35 +08:00 
			
		
		
		
	improvement (UI): make the UI behave
This commit is contained in:
		| @ -8,3 +8,13 @@ export function pathBuilder(path, filename, type = 'file'){ | ||||
|         return tmp + '/'; | ||||
|     } | ||||
| } | ||||
|  | ||||
| export function basename(path){ | ||||
|     return Path.basename(path); | ||||
| } | ||||
|  | ||||
| export function dirname(path){ | ||||
|     const dir = Path.dirname(path); | ||||
|     if(dir === '/') return dir; | ||||
|     return dir + "/"; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Mickael KERJEAN
					Mickael KERJEAN