Move ImportParameters to better home

This commit is contained in:
Dean Herbert
2022-12-13 21:41:26 +09:00
parent cb16d62700
commit b8904fe747
12 changed files with 25 additions and 30 deletions

View File

@ -526,24 +526,4 @@ namespace osu.Game.Beatmaps
public override string HumanisedModelName => "beatmap";
}
public struct ImportParameters
{
/// <summary>
/// Whether this import is part of a larger batch.
/// </summary>
/// <remarks>
/// May skip intensive pre-import checks in favour of faster processing.
///
/// More specifically, imports will be skipped before they begin, given an existing model matches on hash and filenames. Should generally only be used for large batch imports, as it may defy user expectations when updating an existing model.
///
/// Will also change scheduling behaviour to run at a lower priority.
/// </remarks>
public bool Batch { get; set; }
/// <summary>
/// Whether this import should use hard links rather than file copy operations if available.
/// </summary>
public bool PreferHardLinks { get; set; }
}
}