Giter Site home page Giter Site logo

appdirs's People

Contributors

wessie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

appdirs's Issues

Build break on darwin

I didn't want to do a fork/pull request for something so trivial, but trying to build bazil, I ran into the following issue:

From 741a2bf93172a408c8ec8ded0f59ba3bb7982b16 Mon Sep 17 00:00:00 2001
From: Dustin Sallings [email protected]
Date: Sat, 26 Apr 2014 08:24:08 -0700
Subject: [PATCH] darwin build fixes


appdirs_darwin.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/appdirs_darwin.go b/appdirs_darwin.go
index e7431d8..c75ae59 100644
--- a/appdirs_darwin.go
+++ b/appdirs_darwin.go
@@ -37,7 +37,7 @@ func userConfigDir(name, author, version string, roaming bool) (path string) {
}

func siteConfigDir(name, author, version string) (path string) {

  • return SiteDataDir(name, author, version, false)
  • return SiteDataDir(name, author, version)
    }

func userCacheDir(name, author, version string, opinion bool) (path string) {
@@ -62,4 +62,5 @@ func userLogDir(name, author, version string, opinion bool) (path string) {
if name != "" && version != "" {
path = filepath.Join(path, version)
}

  • return
    }
    --
    1.9.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.