code: func (c *Client) FixAllLockableFileWriteFlags() error {
  	return c.fixFileWriteFlags(c.LocalWorkingDir, c.LocalWorkingDir, c.getLockableFilter(), nil)
  }
docs: // FixAllLockableFileWriteFlags recursively scans the repo looking for files which
  // are lockable, and makes sure their write flags are set correctly based on
  // whether they are currently locked or unlocked.
  // Files which are unlocked are made read-only, files which are locked are made
  // writeable.
  // This function can be used after a clone or checkout to ensure that file
  // state correctly reflects the locking state