15 lines
192 B
Ruby
15 lines
192 B
Ruby
|
|
class RepoManager
|
||
|
|
attr :path, :error
|
||
|
|
|
||
|
|
def initialize(path)
|
||
|
|
@error = nil
|
||
|
|
unless File.exist? (path)
|
||
|
|
Dir.mkdir(path)
|
||
|
|
end
|
||
|
|
@path = path
|
||
|
|
end
|
||
|
|
|
||
|
|
def create_repo
|
||
|
|
end
|
||
|
|
end
|