文件名称:textrepo:一个存储带有时间戳记的注释文本的存储库
文件大小:37KB
文件格式:ZIP
更新时间:2024-04-15 00:18:48
Ruby
Textrepo Textrepo是用于存储带有时间戳记的注释的存储库。 储存库中的每个注释都使用关联的时间戳记。 安装 将此行添加到应用程序的Gemfile中: gem 'textrepo' 然后执行: $ bundle install 或将其自己安装为: $ gem install textrepo 用法 这是使用textrepo的非常简短的示例。 它将创建~/textrepo_sample目录,并将一些文本存储到其中。 #!/usr/bin/env ruby require "textrepo" conf = { :repository_type => :file_system , :repository_name => "textrepo_sample" , :repository_base => File . expand_path ( "~" ) , }
【文件预览】:
textrepo-main
----.gitignore(1KB)
----bin()
--------setup(131B)
--------console(343B)
----CHANGELOG.md(3KB)
----LICENSE.txt(1KB)
----.github()
--------workflows()
----examples()
--------rbnotes()
----README.md(3KB)
----textrepo.gemspec(1KB)
----lib()
--------textrepo.rb(175B)
--------textrepo()
----Gemfile(141B)
----Rakefile(1011B)
----test()
--------textrepo_timestamp_test.rb(12KB)
--------textrepo_file_system_repository_test.rb(1KB)
--------textrepo_file_system_repository_read_test.rb(1KB)
--------textrepo_repository_test.rb(420B)
--------textrepo_test.rb(144B)
--------textrepo_file_system_repository_update_test.rb(4KB)
--------textrepo_repository_enumerable_test.rb(1KB)
--------textrepo_file_system_repository_entries_mmdd_test.rb(666B)
--------textrepo_file_system_repository_create_test.rb(2KB)
--------textrepo_file_system_repository_search_test.rb(988B)
--------sandbox()
--------textrepo_file_system_repository_exist_test.rb(525B)
--------textrepo_file_system_repository_delete_test.rb(2KB)
--------test_helper.rb(2KB)
--------textrepo_file_system_repository_entries_test.rb(1KB)
--------fixtures()