Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Levin Zimmermann
go-fuse
Commits
1a6d9d93
Commit
1a6d9d93
authored
Feb 04, 2013
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not spam stderr if deletion directory is missing.
parent
6dfb7a9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
unionfs/dircache.go
unionfs/dircache.go
+5
-0
No files found.
unionfs/dircache.go
View file @
1a6d9d93
...
@@ -12,6 +12,11 @@ import (
...
@@ -12,6 +12,11 @@ import (
// succeed.
// succeed.
func
newDirnameMap
(
fs
fuse
.
FileSystem
,
dir
string
)
map
[
string
]
bool
{
func
newDirnameMap
(
fs
fuse
.
FileSystem
,
dir
string
)
map
[
string
]
bool
{
stream
,
code
:=
fs
.
OpenDir
(
dir
,
nil
)
stream
,
code
:=
fs
.
OpenDir
(
dir
,
nil
)
if
code
==
fuse
.
ENOENT
{
// The directory not existing is not an error.
return
map
[
string
]
bool
{}
}
if
!
code
.
Ok
()
{
if
!
code
.
Ok
()
{
log
.
Printf
(
"newDirnameMap(%v): %v %v"
,
fs
,
dir
,
code
)
log
.
Printf
(
"newDirnameMap(%v): %v %v"
,
fs
,
dir
,
code
)
return
nil
return
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment