code: func (cmd *CheckCommand) Run(_ context.Context) error {
  	for _, path := range cmd.Paths {
  		switch filepath.Ext(path) {
  		case "":
  			if err := cmd.checkBitmapFile(path); err != nil {
  				return errors.Wrap(err, "checking bitmap")
  			}
  
  		case ".cache":
  			if err := cmd.checkCacheFile(path); err != nil {
  				return errors.Wrap(err, "checking cache")
  			}
  
  		case ".snapshotting":
  			if err := cmd.checkSnapshotFile(path); err != nil {
  				return errors.Wrap(err, "checking snapshot")
  			}
  		}
  	}
  
  	return nil
  }
docs: // Run executes the check command.