mirror of
https://github.com/minetest/minetest.git
synced 2024-11-04 14:53:45 +01:00
6901c5fae5
From November 2021, the Play Store will no longer be accepting apps which use the deprecated getExternalStorageDirectory() API. Therefore, this commit replaces uses of deprecated API with the new scoped API (`getExternalFilesDir()` and `getExternalCacheDir()`). It also provides a temporary migration to move user data from the shared external directory to new storage. Fixes #2097, #11417 and #11118
34 lines
808 B
YAML
34 lines
808 B
YAML
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
UseTab: Always
|
|
TabWidth: 4
|
|
BreakBeforeBraces: Custom
|
|
Standard: Cpp11
|
|
BraceWrapping:
|
|
AfterClass: true
|
|
AfterControlStatement: false
|
|
AfterEnum: true
|
|
AfterFunction: true
|
|
AfterNamespace: true
|
|
AfterStruct: true
|
|
AfterUnion: true
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
FixNamespaceComments: false
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
IndentCaseLabels: false
|
|
AccessModifierOffset: -4
|
|
ColumnLimit: 90
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
SortIncludes: false
|
|
IncludeCategories:
|
|
- Regex: '^".*'
|
|
Priority: 2
|
|
- Regex: '^<.*'
|
|
Priority: 1
|
|
AlignAfterOpenBracket: DontAlign
|
|
ContinuationIndentWidth: 8
|
|
ConstructorInitializerIndentWidth: 8
|
|
BreakConstructorInitializers: AfterColon
|
|
AlwaysBreakTemplateDeclarations: Yes
|