MIT License
Copyright (c) 2026 dwarfs-union contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
---
## 模块许可证说明
本项目由多个模块组成,许可证按模块隔离:
| 模块 | 许可证 | 文件 |
|------|--------|------|
| vfsbridge(抽象层) | MIT(本文件) | `src/vfsbridge/` |
| unionfs-win(Overlay 核心) | MIT(本文件) | `src/unionfs/` `src/backends/ntfs*` `src/api/` |
| projfs-frontend | Windows 系统组件 API(无第三方 GPL) | `src/frontends/projfs/` |
| winfsp-frontend | **GPLv3 + FLOSS 例外**(见 WinFsp 项目) | `src/frontends/winfsp/` |
| dwarfs-backend | **GPLv3**(libdwarfs) | `src/backends/dwarfs*` |
| dwarfs-union(产物) | 组合(核心 MIT + 插件各自许可证) | `src/cli/` |
**关键说明**:
- MIT 模块(vfsbridge/unionfs-win/projfs-frontend)可被任意闭源商业软件
动态或静态链接,无 GPL 传染。
- winfsp-frontend / dwarfs-backend 是独立插件 DLL,仅在显式加载时生效;
闭源商用需遵循 WinFsp 商业授权或 libdwarfs GPL 条款。
- 消费挂载文件(访问挂载点)不构成链接,永远不受 GPL 约束。
详见 `docs/licensing.md`。