Cleaning Your Local Workspace, FTL, and Fuze

Introduction

Since Fuze uses disk space, and keeps local cached versions of some items such package DB’s, you may need to clean it up occasionally. Synchronization errors can occur, plus caches or the FTL will build up unmanageable large execution artifacts.

Resetting Local DB’s and Cleaning Caches

Fuze utilizes several local DB’s and caches. Some of these are for Working Locally, or for allowing builds without internet connectivity, or performance enhancement reasons. When you perform reset or cleaning operations, you are telling Fuze to reset and clean your local DB’s and caches.

Note

You cannot affect centralized Fuze DB’s

You need not worry about accidentally breaking something in the Fuze universe outside of your local machine. Resetting and cleaning can only be performed locally.

Why Would I Need to Reset or Clean?

  • Occasional Fuze refactoring or feature updates may require a local reset

  • A synchronization error may require a local reset

  • Performance enhancement may benefit from an occasional local reset. As the local DB’s become larger, package loading time and searching time may increase.

How do I Reset or Clean?

The following command line performs a local reset:

fuze --reset-db-cache

Or, you may delete the entire .fuze directory in your filesystem. The next Fuze execution will regenerate it and populate it with what it needs.

Removing FTL’s

FTL’s can build up over time and potentially encroach on the available disk space on your local machine. By definition, FTLs are temporary and not required past the current Fuze operation, therefore, you may freely delete FTL’s at any time.

You may do so manually with local OS operations (ie, rm, del, etc), or Fuze provides a convenient utility that you can access via a command line argument.

If you use the command line argument, Fuze will delete all data and directories below the system’s FTL root directory.

Warning

This command deletes ALL contents of the user specified FTL

If you have chosen a user-specified FTL, this command will remove ALL files and directories from that location. Even files and directories that were not generated by Fuze.

Use the following command to clean all FTL’s:

fuze --clean-ftl

Note

System generated FTLs may be deleted on restart

When using the system generated FTL, your OS may delete them for you upon a system restart (system dependent). When using user-specified FTLs, you must clean them manually.