{"id":15917483,"url":"https://github.com/takuya/ruby_fstools","last_synced_at":"2025-10-09T19:14:36.381Z","repository":{"id":136551588,"uuid":"22987823","full_name":"takuya/ruby_fstools","owner":"takuya","description":"ruby fstools","archived":false,"fork":false,"pushed_at":"2014-08-15T11:45:20.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T01:13:54.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takuya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-15T11:39:11.000Z","updated_at":"2014-08-15T11:45:20.000Z","dependencies_parsed_at":"2023-03-12T15:55:42.248Z","dependency_job_id":null,"html_url":"https://github.com/takuya/ruby_fstools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fruby_fstools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fruby_fstools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fruby_fstools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fruby_fstools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takuya","download_url":"https://codeload.github.com/takuya/ruby_fstools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246998099,"owners_count":20866690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T18:10:56.687Z","updated_at":"2025-10-09T19:14:31.357Z","avatar_url":"https://github.com/takuya.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"ruby_fstools\n============\n\nruby fstools は Ruby 拡張機能の作り方の練習で書きました。\n\n** コンパイル\n\n```\ngit clone git@github.com:takuya/ruby_fstools.git\ncd ruby_fstools\nmake\n```\n\n** File.cp / File.copy\n\nRuby の 1.8 時代に存在した File.cp の機能を C 言語拡張で書いています。\n\n```\nrequire './fstools'\nFile.copy(\"README.md\", \"copied.md\")\n```\n\n\n** 参考資料\n\nhttp://i.loveruby.net/w/RubyExtensionProgrammingGuide.html\n\nhttp://www.metareal.org/2007/06/14/ruby-extension-struct-rstring-macros/\n\nhttp://docs.ruby-lang.org/ja/1.8.7/method/File/s/copy.html\n\nhttp://java.ociweb.com/mark/NFJS/RubyCExtensions.pdf\n\nhttp://ruby.gfd-dennou.org/tutorial/ruby-ext/\n\nhttp://stackoverflow.com/questions/2180079/how-can-i-copy-a-file-on-unix-using-c\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fruby_fstools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakuya%2Fruby_fstools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fruby_fstools/lists"}