Add two helper API functions to PathHelper

This commit is contained in:
zontreck 2024-05-23 12:15:52 -07:00
parent 18d55666e6
commit 302595d45d
2 changed files with 9 additions and 1 deletions

View file

@ -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;

View file

@ -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: