Add two helper API functions to PathHelper
This commit is contained in:
parent
18d55666e6
commit
302595d45d
2 changed files with 9 additions and 1 deletions
|
@ -12,6 +12,14 @@ class PathHelper {
|
|||
return PathHelper(pth: startPath);
|
||||
}
|
||||
|
||||
bool exists() {
|
||||
return File(build()).existsSync();
|
||||
}
|
||||
|
||||
PathHelper clone() {
|
||||
return PathHelper.builder(build());
|
||||
}
|
||||
|
||||
PathHelper resolve(String path2) {
|
||||
pth += Platform.pathSeparator + path2;
|
||||
return this;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: libac_flutter
|
||||
description: "Aria's Creations code library"
|
||||
version: 1.0.16
|
||||
version: 1.0.17
|
||||
homepage: "https://zontreck.com"
|
||||
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue