예제 #1
0
        public Task <WriteResult> WriteTagsAsync(string srcPath, IEnumerable <Operation> updates, string dstPath)
        {
            VerifySourceFile(srcPath);
            VerifyUpdates(updates);

            var runner = new FileToFileRunner(_opts, srcPath, dstPath, false);

            return(runner.RunProcessAsync(updates));
        }
예제 #2
0
        public Task <WriteResult> OverwriteTagsAsync(string srcPath, IEnumerable <Operation> updates)
        {
            VerifySourceFile(srcPath);
            VerifyUpdates(updates);

            var runner = new FileToFileRunner(Options, srcPath, srcPath, true);

            return(runner.RunProcessAsync(updates));
        }