Mahmoud Emad 988602f90f feat: Enhance VFS with file and directory manipulation
- Add `move`, `copy`, and `rename` methods to `Directory` and `File`
  for improved file system management.
- Refactor `move` operation in `Directory` for better error handling and
  support for recursive directory moves.  Improves robustness and
  clarity of the move operation.
- Implement a `MoveDirArgs` struct to improve the clarity and
  maintainability of the `move` function arguments.
- Remove unnecessary `save()` calls for improved performance.
- Add comprehensive tests for the new and improved file system
  operations.  Ensures reliability and correctness of the added
  functionality.
2025-02-24 13:10:34 +02:00
...
2025-02-07 12:25:15 +03:00
...
2025-02-09 08:52:42 +01:00
2025-02-10 15:53:30 +03:00
2025-02-06 06:48:47 +03:00
...
2025-02-07 12:25:15 +03:00
2025-02-16 06:44:43 +03:00
...
2025-02-07 11:30:32 +03:00
...
2025-02-08 09:54:29 +03:00
2024-12-25 08:40:56 +01:00
...
2025-02-07 12:13:39 +03:00
...
2025-01-31 15:39:44 +03:00
2025-01-14 10:25:35 +01:00
2025-02-10 15:53:30 +03:00
...
2025-01-31 15:39:44 +03:00
2024-12-25 08:40:56 +01:00
...
2025-02-07 12:22:23 +03:00
...
2025-02-08 14:11:51 +01:00

herolib

documentation of the library

hero install for users

curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh > /tmp/install_hero.sh
bash /tmp/install_hero.sh

this tool can be used to work with git, build books, play with hero AI, ...

automated install for developers

curl 'https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_v.sh' > /tmp/install_v.sh
bash /tmp/install_v.sh --analyzer --herolib 
#DONT FORGET TO START A NEW SHELL (otherwise the paths will not be set)

details


~/code/github/freeflowuniverse/herolib/install_v.sh --help

V & HeroLib Installer Script

Usage: ~/code/github/freeflowuniverse/herolib/install_v.sh [options]

Options:
  -h, --help     Show this help message
  --reset        Force reinstallation of V
  --remove       Remove V installation and exit
  --analyzer     Install/update v-analyzer
  --herolib      Install our herolib

Examples:
  ~/code/github/freeflowuniverse/herolib/install_v.sh
  ~/code/github/freeflowuniverse/herolib/install_v.sh --reset
  ~/code/github/freeflowuniverse/herolib/install_v.sh --remove
  ~/code/github/freeflowuniverse/herolib/install_v.sh --analyzer
  ~/code/github/freeflowuniverse/herolib/install_v.sh --herolib
  ~/code/github/freeflowuniverse/herolib/install_v.sh --reset --analyzer # Fresh install of both

to test

to run the basic tests, important !!!

~/code/github/freeflowuniverse/herolib/test_basic.vsh
vtest ~/code/github/freeflowuniverse/herolib/lib/osal/package_test.v
#for a full dir
vtest ~/code/github/freeflowuniverse/herolib/lib/osal

#to do al basic tests
~/code/github/freeflowuniverse/herolib/test_basic.vsh

vtest is an alias to test functionality

important to read

Description
a smaller version of crystallib with only the items we need for hero
Readme Apache-2.0 71 MiB
2025-11-26 22:53:45 +00:00
Languages
V 89.4%
JavaScript 2.4%
HTML 2%
Shell 1.4%
CSS 1.4%
Other 3.3%