-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from rafl/registry
Add a simple module registry
- Loading branch information
Showing
8 changed files
with
339 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
|
||
namespace CKAN | ||
{ | ||
public class InstalledModuleFile | ||
{ | ||
public string name; | ||
public string sha1_sum; | ||
} | ||
|
||
public class InstalledModule | ||
{ | ||
public InstalledModuleFile[] installed_files; | ||
public Module source_module; | ||
public DateTime install_time; | ||
|
||
public InstalledModule (InstalledModuleFile[] installed_files, Module source_module, DateTime install_time) | ||
{ | ||
this.installed_files = installed_files; | ||
this.source_module = source_module; | ||
this.install_time = install_time; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.