{"id":16874595,"url":"https://github.com/joway/mfs","last_synced_at":"2025-03-18T23:18:53.426Z","repository":{"id":75055808,"uuid":"83549900","full_name":"joway/MFS","owner":"joway","description":"Memory File System","archived":false,"fork":false,"pushed_at":"2017-03-02T04:41:34.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T00:37:15.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-01T12:03:04.000Z","updated_at":"2017-03-01T15:37:51.000Z","dependencies_parsed_at":"2023-02-24T03:30:22.323Z","dependency_job_id":null,"html_url":"https://github.com/joway/MFS","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/joway%2FMFS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2FMFS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2FMFS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2FMFS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joway","download_url":"https://codeload.github.com/joway/MFS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244320424,"owners_count":20434092,"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-13T15:33:23.893Z","updated_at":"2025-03-18T23:18:53.402Z","avatar_url":"https://github.com/joway.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MFS\n\nMemory File System\n\n## Dependency\n\n- Python3.5/3.6\n\n## Run\n\n    python main.py\n\n\n## Tests\n\n    python tests.py\n\n\n## Usage\n\n    Help:\n    /---------------------------------------------------------\\\\\n    |  CMD  |      Usage      |            Example           |\n    ----------------------------------------------------------\n    |  ls   |   ls [path]     |  ls /root ; ls ../  ; ls ./  |\n    | mkdir |   mkdir [path]  | mkdir /root ; mkdir /etc/www |\n    |  pwd  |      pwd        |              pwd             |\n    | touch |    touch name   |  touch x.c ; touch /root/x.c |\n    | tree  |   tree [path]   |   tree ; tree . ; tree /root |\n    |  cd   |   cd [path]     |   cd /root ; cd ../          |\n    | fread | fread file_path |   fread x.c ; fread /root/x.c|\n    | fwrite| fwrite file_path|   fwrite x.c \"dataxxx\"       |\n    |  cp   |cp s_name t_name |   cp /root/s.txt /etc/t.txt  |\n    |  help |      help       |             help             |\n    |  exit |      exit       |             exit             |\n    \\---------------------------------------------------------/\n\n## Summary\n\n由于纯粹基于内存进行快速随机存储 , 且对文件夹中内容无排序需求, 树深度(目录层级)一般情况不会过深, 故而简单地采用一棵的自由树来组织目录结构。\n\n每个子节点有两种类型 : Directory 和 File , 根节点自身是一个 Directory。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoway%2Fmfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoway%2Fmfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoway%2Fmfs/lists"}