diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..925c446 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ + +*.suo +CompareFS/bin +CompareFS/obj \ No newline at end of file diff --git a/CompareFS.sln b/CompareFS.sln new file mode 100644 index 0000000..4deba3c --- /dev/null +++ b/CompareFS.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CompareFS", "CompareFS/CompareFS.csproj", "{8CEDDAC5-C9DB-4129-BE95-BFBFF7F0CCB9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8CEDDAC5-C9DB-4129-BE95-BFBFF7F0CCB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8CEDDAC5-C9DB-4129-BE95-BFBFF7F0CCB9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8CEDDAC5-C9DB-4129-BE95-BFBFF7F0CCB9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8CEDDAC5-C9DB-4129-BE95-BFBFF7F0CCB9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/CompareFS/CompareFS.csproj b/CompareFS/CompareFS.csproj new file mode 100644 index 0000000..522bfb8 --- /dev/null +++ b/CompareFS/CompareFS.csproj @@ -0,0 +1,56 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {8CEDDAC5-C9DB-4129-BE95-BFBFF7F0CCB9} + Library + Properties + CompareFS + CompareFS + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CompareFS/FileModification.cs b/CompareFS/FileModification.cs new file mode 100644 index 0000000..39a8d63 --- /dev/null +++ b/CompareFS/FileModification.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; + +namespace CompareFS +{ + class FileModification : PathModification + { + public override string Path + { + get { return FileInfo.FullName; } + } + + public FileInfo FileInfo { get; private set; } + } +} diff --git a/CompareFS/ModificationType.cs b/CompareFS/ModificationType.cs new file mode 100644 index 0000000..30e9fcf --- /dev/null +++ b/CompareFS/ModificationType.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace CompareFS +{ + enum ModificationType + { + None, + Added, + Removed, + Changed + } +} diff --git a/CompareFS/PathModification.cs b/CompareFS/PathModification.cs new file mode 100644 index 0000000..12514d3 --- /dev/null +++ b/CompareFS/PathModification.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace CompareFS +{ + abstract class PathModification + { + public abstract string Path { get; } + } +} diff --git a/CompareFS/Properties/AssemblyInfo.cs b/CompareFS/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..42bd7fb --- /dev/null +++ b/CompareFS/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("CompareFS")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("CompareFS")] +[assembly: AssemblyCopyright("Copyright © 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("fb4385aa-e0c1-4b69-86d8-08a39836e68d")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")]