mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-05-01 18:33:08 +03:00
[cdc_fuse_fs] Fix various issues (#6)
Fixes a couple of issues with the FUSE: - Creates the mount directory if it does not exist. This assumes the mount dir to be the last arg. Ideally, we'd parse the command line and then create the directory, but unfortunately fuse_parse_cmdline already verifies that the dir exists. - Expands the cache_dir (e.g. ~). - Fixes a compile issue in manifest_iterator.
This commit is contained in:
@@ -35,16 +35,18 @@ cc_library(
|
||||
# Additional warnings from @com_github_dirent
|
||||
"/wd4505", # unreferenced function with internal linkage has been removed
|
||||
],
|
||||
"//conditions:default": ["/wd4505"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
deps = [
|
||||
":path",
|
||||
":platform",
|
||||
"@com_github_dirent//:dirent",
|
||||
"@com_google_absl//absl/status",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/strings:str_format",
|
||||
],
|
||||
] + select({
|
||||
"//tools:windows": ["@com_github_dirent//:dirent"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
|
||||
cc_test(
|
||||
|
||||
Reference in New Issue
Block a user