/// <summary> /// Deletes the given file from this project. /// </summary> public void DeleteFile(Gp4File f) { files.Items.Remove(f); }
/// <summary> /// Sets the target name of the given file to the given name. /// </summary> /// <param name="f">The file to rename</param> /// <param name="newName">The new filename</param> public void RenameFile(Gp4File f, string newName) { f.TargetPath = f.DirName + newName; }