mirror of
https://github.com/foss42/apidash.git
synced 2025-06-02 16:02:12 +08:00
Update file_utils.dart
This commit is contained in:
@ -48,6 +48,11 @@ String getShortPath(String path) {
|
||||
return path;
|
||||
}
|
||||
|
||||
String getFilenameFromPath(String path) {
|
||||
var f = p.split(path);
|
||||
return f.last;
|
||||
}
|
||||
|
||||
String getTempFileName() {
|
||||
return getNewUuid();
|
||||
}
|
||||
|
Reference in New Issue
Block a user