PackageManager just because
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
460 B

  1. package main
  2. import (
  3. "PackageManager/Client/Database"
  4. "PackageManager/Client/Filesystem"
  5. )
  6. func main() {
  7. var e error
  8. e = Database.InitDB()
  9. if e != nil {
  10. panic(e)
  11. }
  12. /*
  13. e = Filesystem.UpdateFilesystemHash()
  14. if e != nil {
  15. panic(e)
  16. }
  17. */
  18. e = Filesystem.GetFilesystemDiff()
  19. if e != nil {
  20. panic(e)
  21. }
  22. //e := Archive.TarGzip("/tmp/test", "/tmp/test.tar.gz")
  23. //e := Archive.UntarGzip("/tmp/test.tar.gz", "/tmp/test")
  24. //fmt.Println(e)
  25. }