Search
Preparing search index...
The search index is not available
i18n-manager
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"src/services/file-system/FileSystemService"
FileSystemService
Class FileSystemService
Hierarchy
FileSystemService
Index
Constructors
constructor
Properties
backup
Sufix
s
Strategy
Methods
get
Backup
Path
get
File
Content
AsObj
get
File
Name
get
File
Names
get
Files
save
Content
ToFile
Constructors
constructor
new
File
System
Service
(
sStrategy
:
FileListSanitizeStrategy
)
:
FileSystemService
Parameters
sStrategy:
FileListSanitizeStrategy
Returns
FileSystemService
Properties
Private
backup
Sufix
backup
Sufix
:
string
= "i18n-manager_backup_file"
Private
s
Strategy
s
Strategy
:
FileListSanitizeStrategy
Methods
get
Backup
Path
get
Backup
Path
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
get
File
Content
AsObj
get
File
Content
AsObj
(
path
:
string
)
:
Promise
<
Object
>
Parameters
path:
string
Returns
Promise
<
Object
>
get
File
Name
get
File
Name
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
get
File
Names
get
File
Names
(
path
:
string
)
:
Promise
<
Array
<
string
>
>
Parameters
path:
string
Returns
Promise
<
Array
<
string
>
>
get
Files
get
Files
(
path
:
string
)
:
Promise
<
Array
<
string
>
>
Parameters
path:
string
Returns
Promise
<
Array
<
string
>
>
save
Content
ToFile
save
Content
ToFile
(
path
:
string
, content
:
any
, doBackup
?:
boolean
)
:
Promise
<
void
>
Parameters
path:
string
content:
any
Default value
doBackup:
boolean
= true
Returns
Promise
<
void
>
Globals
Internals
"src/i18n-
manager"
"test/test-
utils"
Externals
"src/command-
handlers/clean-
locales"
"src/command-
handlers/list-
locales"
"src/command-
handlers/translate-
locales"
"src/services/cleaning/
Cleaning
Service"
"src/services/file-
system/
File
List
Sanitize
Strategy"
"src/services/file-
system/
File
System
Service"
"src/services/file-
system/
Only
Json
Sanitize
Strategy"
"src/services/translation/
Google
TranslateAPIParser"
"src/services/translation/
Google
Translation
Service"
"src/services/translation/
Translation
Service"
"src/use-
cases/
Use
Case"
"src/use-
cases/clean-
locales/
Clean
Locales"
"src/use-
cases/clean-
locales/
Command"
"src/use-
cases/clean-
locales/
Responder"
"src/use-
cases/list-
locales/
Command"
"src/use-
cases/list-
locales/
List
Locales"
"src/use-
cases/list-
locales/
Responder"
"src/use-
cases/translate-
locales/
Command"
"src/use-
cases/translate-
locales/
Responder"
"src/use-
cases/translate-
locales/
Translate
Locales"
File
System
Service
constructor
backup
Sufix
s
Strategy
get
Backup
Path
get
File
Content
AsObj
get
File
Name
get
File
Names
get
Files
save
Content
ToFile
read
File
Async
readdir
Async
write
File
Async
Generated using
TypeDoc