why-fs:文件系统抽象

时间:2021-05-27 05:21:46
【文件属性】:
文件名称:why-fs:文件系统抽象
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-27 05:21:46
Haxe 为什么选择文件系统 各种(云)文件系统的抽象。 在本地开发和生产环境中重用相同代码时最有用。 例如,当在本地计算机上进行开发时,可以使用Local实现,而在生产环境上使用S3实现。 由于它们实现相同的接口,因此交换可以像这样简单: var fs : Fs = #if local new Local ( root ) #else new S3 ( bucket ) #end; // then use the `fs` instance everywhere 界面 快速浏览: interface Fs { function download ( req : RequestInfo , local : String ) : Progress < Outcome>>; function list ( path : String , ? recursiv
【文件预览】:
why-fs-master
----.travis.yml(499B)
----.gitmodules(114B)
----bin()
--------node()
----tests.hxml(87B)
----tests()
--------Playground.hx(740B)
--------RunTests.hx(5KB)
----haxe_libraries()
--------tink_priority.hxml(174B)
--------http-status.hxml(165B)
--------tink_stringly.hxml(188B)
--------why-fs.hxml(73B)
--------extern-js-aws-sdk.hxml(380B)
--------tink_io.hxml(315B)
--------tink_testrunner.hxml(357B)
--------tink_syntaxhub.hxml(372B)
--------extern-js.hxml(329B)
--------travix.hxml(545B)
--------tink_cli.hxml(247B)
--------tink_macro.hxml(180B)
--------futurize.hxml(303B)
--------tink_anon.hxml(174B)
--------asys.hxml(329B)
--------tink_state.hxml(311B)
--------tink_streams.hxml(388B)
--------tink_http.hxml(348B)
--------tink_url.hxml(172B)
--------hxnodejs.hxml(422B)
--------tink_core.hxml(292B)
--------ansi.hxml(138B)
--------tink_chunk.hxml(161B)
--------tink_unittest.hxml(393B)
--------mime.hxml(292B)
----submodules()
--------localstack()
----src()
--------why()
----playground.hxml(133B)
----.gitignore(41B)
----haxelib.json(327B)
----README.md(2KB)
----.haxerc(47B)
----.vscode()
--------tasks.json(374B)

网友评论