utilities library

Functions

addDependency(String projectName, String packageName) Future<void>
Adds a dependency to the Oydabase.
fetchDependencies(String? projectName) Future<void>
Fetches the dependencies for the specified project.
getDependencies(String? projectName) Future<List<String>>
Fetches the dependencies from the Oydabase.
makeReadOnly(String filePath) bool
Makes a file read-only by changing its permissions to 444.
runProject(String projectName) → void
setOydabase(String host, int port, String oydaBase, String user, String password) Future<Map<String, dynamic>>
Sets the Oydabase configuration by sending a POST request to the specified API endpoint.
setPubspecReadOnly(String projectName, String pubspec) → void
Sets the pubspec.yaml file as read-only.