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);
|
return PathHelper(pth: startPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool exists() {
|
||||||
|
return File(build()).existsSync();
|
||||||
|
}
|
||||||
|
|
||||||
|
PathHelper clone() {
|
||||||
|
return PathHelper.builder(build());
|
||||||
|
}
|
||||||
|
|
||||||
PathHelper resolve(String path2) {
|
PathHelper resolve(String path2) {
|
||||||
pth += Platform.pathSeparator + path2;
|
pth += Platform.pathSeparator + path2;
|
||||||
return this;
|
return this;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: libac_flutter
|
name: libac_flutter
|
||||||
description: "Aria's Creations code library"
|
description: "Aria's Creations code library"
|
||||||
version: 1.0.16
|
version: 1.0.17
|
||||||
homepage: "https://zontreck.com"
|
homepage: "https://zontreck.com"
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue