internal void SyncChangeLogToMap(ReferenceMap guidMap)
        {
            var logPath = ReferenceToolSetting.assetChangeLogPath;

            if (!File.Exists(logPath))
            {
                return;
            }

            BeginWork("SyncChangeLogToGUIDMap");

            //去重,有的资源可能会被重新导入很多遍,比如Scene,修改一次就会被导入3遍
            //todo 需要验证一下去重完之后是不是还保证原来的顺序
            var logs = File.ReadAllLines(logPath).Distinct().SelectL(
                v =>
            {
                var args      = v.Split(',');
                var type      = args[0];
                var assetGUID = args[1];
                var path      = AssetDatabase.GUIDToAssetPath(assetGUID);
                if (!path.StartsWith("Assets"))
                {
                    return(default);
 private void EnsureMapExist()
 {
     guidMap = guidMap ?? new ReferenceMap(ReferenceToolSetting.guidMapPath);
 }
 internal abstract void GenerateMap(
     ReferenceMap map,
     string searchFolder,
     string rgoption
     );