{"id":20492521,"url":"https://github.com/mumez/fileman","last_synced_at":"2025-04-13T17:01:59.609Z","repository":{"id":46106209,"uuid":"4943455","full_name":"mumez/FileMan","owner":"mumez","description":"FileMan is a thin wrapper for various Smalltalk file libraries. It provides simple, portable interfaces for manipulating files and directories.","archived":false,"fork":false,"pushed_at":"2023-03-22T09:26:49.000Z","size":126,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-24T14:32:32.918Z","etag":null,"topics":["cuis","fileman","pharo","smalltalk"],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/mumez.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}},"created_at":"2012-07-08T03:48:58.000Z","updated_at":"2022-07-15T04:38:37.000Z","dependencies_parsed_at":"2022-09-03T06:52:37.953Z","dependency_job_id":null,"html_url":"https://github.com/mumez/FileMan","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumez%2FFileMan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumez%2FFileMan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumez%2FFileMan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumez%2FFileMan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mumez","download_url":"https://codeload.github.com/mumez/FileMan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224819456,"owners_count":17375270,"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":["cuis","fileman","pharo","smalltalk"],"created_at":"2024-11-15T17:29:27.521Z","updated_at":"2024-11-15T17:29:28.385Z","avatar_url":"https://github.com/mumez.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FileMan\n\n## Overview\n\nFileMan is a thin wrapper for various Smalltalk file libraries. It provides simple, portable interfaces for manipulating files and directories.\n\nCurrently, FileMan can wrap those different Smalltalk file libraries.\n\n- FileDirectory (Squeak, Cuis)\n- FileSystem (Pharo)\n- Filename (VisualWorks)\n\nThis repository is mainly for Pharo and Squeak.\n\n### Cuis version\n\n[Cuis](https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev) now includes FileMan as a default file library.\n[Repository for Cuis version](https://github.com/mumez/Cuis-Smalltalk-FileMan) is kept for historical reasons.\n\n### VW version\n\nVW version is available on [Public StORE repository](http://www.cincomsmalltalk.com/publicRepository/). Please load FileMan(Bundle) from StORE.\n\n## Installation\n\n### Pharo \u0026 Squeak\n\n```smalltalk\nMetacello new\n  baseline: 'FileMan';\n  repository: 'github://mumez/FileMan/repository';\n  load.\n```\n\n### Older Squeak (before version 5.3)\n\n```smalltalk\nInstaller squeaksource\n    project: 'MetacelloRepository';\n    install: 'ConfigurationOfFileMan'. \n(Smalltalk at: #ConfigurationOfFileMan) perform: #load.\n```\n\n## Example code\n\n```smalltalk\n\"Before (legacy Squeak)\"\nsubDir := FileDirectory default directoryNamed: 'subDir'.\nsubDir assureExistence.\n[str := subDir newFileNamed: 'file1'.\nstr nextPutAll: 'Hello!']\nensure: [str close].\n\n\"After installation of FileMan\"\n'./subDir' asDirectoryEntry at: 'file2' put: 'Hello!'\n```\n\nBy installing FileMan, you can write simple, portable file manipulation code in different Smalltalk dialects/file libraries. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmumez%2Ffileman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmumez%2Ffileman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmumez%2Ffileman/lists"}