Visitar URL original
Adds xdg_directories package to access Linux well known directories. by gspencergoog · Pull Request #117 · flutter/packages · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated metadata
  • Loading branch information
gspencergoog committed Mar 5, 2020
commit c00faba5c542dc26d49447996a2230f36051ad54
4 changes: 2 additions & 2 deletions packages/xdg_directories/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## [0.0.1] - TODO: Add release date.
## [0.1.0] - Initial Release

* TODO: Describe initial release.
* Initial release includes all the features described in the README.md
2 changes: 1 addition & 1 deletion packages/xdg_directories/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2019 The Flutter Authors. All rights reserved.
Copyright 2020 The Flutter Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand Down
10 changes: 5 additions & 5 deletions packages/xdg_directories/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ To use this package, the basic XDG values for the following are available via a
files and other file objects should be placed. (Corresponds to
`$XDG_RUNTIME_DIR`).

- `definedUserDirs` - The list of user directories defined in the `xdg`
configuration files.
- `getUserDirectoryNames()` - Returns a set of the names of user directories
defined in the `xdg` configuration files.

- `getUserDir(String dirName)` - Gets the value of the user dir with the given
name. Requesting a user dir that doesn't exist returns `null`. The `dirName`
argument is case-insensitive. See [this
- `getUserDirectory(String dirName)` - Gets the value of the user dir with the
given name. Requesting a user dir that doesn't exist returns `null`. The
`dirName` argument is case-insensitive. See [this
wiki](https://wiki.archlinux.org/index.php/XDG_user_directories) for more
details and what values of `dirName` might be available.

9 changes: 3 additions & 6 deletions packages/xdg_directories/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: xdg_directories
description: A new Flutter package project.
version: 0.0.1
author:
homepage:
description: A Dart package for reading XDG directory configuration information on Linux.
version: 1.0.0
homepage: https://github.com/flutter/packages/tree/master/packages/animations

environment:
sdk: ">=2.3.0 <3.0.0"
Expand All @@ -17,5 +16,3 @@ dev_dependencies:
mockito: ">=4.1.1"
flutter_test:
sdk: flutter

flutter: