Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
70dab069
Commit
70dab069
authored
Jan 14, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc(fsrepo)
parent
6ec60ba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
repo/fsrepo/fsrepo.go
repo/fsrepo/fsrepo.go
+3
-0
No files found.
repo/fsrepo/fsrepo.go
View file @
70dab069
...
@@ -86,6 +86,9 @@ func Init(path string, conf *config.Config) error {
...
@@ -86,6 +86,9 @@ func Init(path string, conf *config.Config) error {
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
// initialization is the one time when it's okay to write to the config
// without reading the config from disk and merging any user-provided keys
// that may exist.
if
err
:=
writeConfigFile
(
configFilename
,
conf
);
err
!=
nil
{
if
err
:=
writeConfigFile
(
configFilename
,
conf
);
err
!=
nil
{
return
err
return
err
}
}
...
...
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