https://github.com/kaciras/codingfs
Mount a directory to virtual volum, contains only specific type of files (source, dependency, generated).
https://github.com/kaciras/codingfs
ignore virtual-file-system workspace
Last synced: 3 months ago
JSON representation
Mount a directory to virtual volum, contains only specific type of files (source, dependency, generated).
- Host: GitHub
- URL: https://github.com/kaciras/codingfs
- Owner: Kaciras
- Created: 2019-11-13T06:08:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-06T07:00:02.000Z (6 months ago)
- Last Synced: 2025-04-13T05:07:33.336Z (3 months ago)
- Topics: ignore, virtual-file-system, workspace
- Language: C#
- Homepage:
- Size: 628 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# CodingFS
Mount a directory to virtual volum, contains only specific type of files (source, dependency, generated).
The type is detected by coding workspaces, supports:
- Intellij IDEA
- VSCode
- VisualStudio
- Git
- Npm
- Cargo
- NuGetNot all configuration items, and plugins are supported, this is an endless task. If CodingFS doesn't recognize files in your workspace, feel free to submit issues and PRs.
Requirements: .NET >= 9, and [Dokany](https://github.com/dokan-dev/dokany) installed.

## GUI
`CodingFS.GUI.exe` is a GUI for mounting CodingFS virtual drive.

## CLI
CodingFS cli need a config file to run, by default is `config.toml`, it's also the default file used in GUI.
You can also explicitly specify a config file to use with the `--config` CLI option.
[Default config file](https://github.com/Kaciras/CodingFS/blob/master/Cli/config.toml)
### Mount
```
CodingFS mount [--config=] [--type=] [--label=] [--readonly=]
```Map the directory to a virtual drive, containing only files of the specified type.
* `MountPoint`: drive letter of the mouted filesystem. Required.
* `--config`: Path of the config file to use.
* `--type`: Which type of files should be included in the file system. Avaliable values: Source, Dependency, Generated. Use comma to separate flags.
* `--label`: Volume label on Windows.
* `--readonly`: Mount the volume as read-only. Default false.CodingFS does not watch files, changes made after mounting may not be reflected on the virtual volume.
> [!WARNING]
> If you set `--type` without `Source`, CodingFS need to scan the directory recursively before mounting, This may take a while, you can limit the depth by set `MaxDepth` property in the config file.### List
```
CodingFS list [--config=] [--type=] [--name-only]
```List files in root directory of the specific type.
* `--config`: Path of the config file to use.
* `--type`: Which type of files should be listed. Avaliable values: Source, Dependency, Generated. Use comma to separate flags.
* `--name-only`: Only show file names.### Inspect
```
CodingFS inspect [D:\path\to\inspect]
```Show workspaces and their recognize result for the specific path. Useful for debug.