How files and directories in snapshot views are unloaded

In snapshot views, file and directories are unloaded differently.

Unloading files

The action taken to unload a file depends on the current state of the file:

  • For a file that is not checked out, the file is deleted from the view.
  • For a hijacked file, .unloaded is appended to the file name, unless you use update -overwrite or set the Update Tool to delete hijacked files.
  • For a checked-out file, .unloaded is appended to the file name. The version remains checked out to your view.

Unloading directories

Directories are unloaded recursively. To unload a directory element, the files in the directory are unloaded. If any view-private objects, hijacked files, or checked-out files are in the directory, or if the directory is currently in use (for example, if your current working directory is in or below the directory) .unloaded is appended to the name of the directory. For example, if the directory src contains view-private files, the directory is renamed to src.unloaded.