Skip to content

Commit

Permalink
Get rid of unneeded public versions of functions in Lib
Browse files Browse the repository at this point in the history
  • Loading branch information
chelh committed Jul 4, 2017
1 parent 44a72ad commit 8565017
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/VBASync/Model/Lib.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,10 @@ namespace VBASync.Model
{
public static class Lib
{
// This is used from this UI layer
public static bool FrxFilesAreDifferent(string frxPath1, string frxPath2, out string explain)
=> FrxFilesAreDifferent(new RealSystemOperations(), frxPath1, frxPath2, out explain);

public static IList<KeyValuePair<string, Tuple<string, ModuleType>>> GetFolderModules(string folderPath)
=> GetFolderModules(new RealSystemOperations(), folderPath);

public static Patch GetLicensesPatch(ISession session, string evfPath)
=> GetLicensesPatch(new RealSystemOperations(), session, evfPath);

public static IEnumerable<Patch> GetModulePatches(ISession session, ISessionSettings sessionSettings,
string vbaFolderPath, IList<KeyValuePair<string, Tuple<string, ModuleType>>> folderModules,
IList<KeyValuePair<string, Tuple<string, ModuleType>>> fileModules)
=> GetModulePatches(new RealSystemOperations(), session, sessionSettings, vbaFolderPath, folderModules, fileModules);

public static Patch GetProjectPatch(ISession session, string evfPath)
=> GetProjectPatch(new RealSystemOperations(), session, evfPath);

internal static bool FrxFilesAreDifferent(ISystemOperations so, string frxPath1, string frxPath2, out string explain)
{
var frxBytes1 = so.FileReadAllBytes(frxPath1);
Expand Down

0 comments on commit 8565017

Please sign in to comment.