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
be9c1146
Commit
be9c1146
authored
Sep 29, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no need for ; here
cc @mildred
parent
f223aef4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config/config.go
config/config.go
+2
-2
No files found.
config/config.go
View file @
be9c1146
...
...
@@ -77,13 +77,13 @@ func Path(configroot, extension string) (string, error) {
// DataStorePath returns the default data store path given a configuration root
// (set an empty string to have the default configuration root)
func
DataStorePath
(
configroot
string
)
(
string
,
error
)
{
return
Path
(
configroot
,
DefaultDataStoreDirectory
)
;
return
Path
(
configroot
,
DefaultDataStoreDirectory
)
}
// Filename returns the configuration file path given a configuration root
// directory. If the configuration root directory is empty, use the default one
func
Filename
(
configroot
string
)
(
string
,
error
)
{
return
Path
(
configroot
,
DefaultConfigFile
)
;
return
Path
(
configroot
,
DefaultConfigFile
)
}
// DecodePrivateKey is a helper to decode the users PrivateKey
...
...
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