GitHub Repository
Preparing search index...
The search index is not available
Chess Bots
Chess Bots
server/api/save-manager
FileManager
Class FileManager
Hierarchy
FileManager
Index
Constructors
constructor
Properties
Property
File
Path
fs
Methods
delete
File
get
File
Names
load
File
write
File
Constructors
constructor
new
File
Manager
(
)
:
FileManager
Returns
FileManager
Properties
:
any
Static
Private
File
Path
File
Path
:
string
= "saves"
Static
Private
fs
fs
:
any
= ...
Methods
Static
delete
File
delete
File
(
fileName
:
string
)
:
undefined
|
never
[]
Parameters
fileName:
string
Returns
undefined
|
never
[]
Static
get
File
Names
get
File
Names
(
)
:
string
[]
Returns
string
[]
Static
load
File
load
File
(
fileName
:
string
)
:
iSave
Parameters
fileName:
string
Returns
iSave
Static
write
File
write
File
(
saveName
:
string
, saveContents
:
iSave
)
:
boolean
Parameters
saveName:
string
saveContents:
iSave
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Chess
Bots
For
Contributors
Overview
Architecture
Writing
Tests
Resource
Library
ESP
Development
Overview
Setup
Structure
Packet
Format
Server
Development
Development
Structure
Setup
client/api
client/chessboard/board-
container
client/chessboard/board-
transform
client/chessboard/chessboard-
wrapper
client/chessboard/custom-
square-
context
client/chessboard/custom-
square-
renderer
client/chessboard/svg-
components
client/debug/debug
client/debug/drive-
robot
client/debug/drive-
slider
client/debug/select-
robot
client/debug/set-
robot-
variable
client/debug/simulator
client/game/draw-
dialog
client/game/game
client/game/game-
end-
dialog
client/game/navbar-
menu
client/home
client/main
client/puzzle/puzzle
client/router
client/setup/lobby
client/setup/setup
client/setup/setup-
base
client/setup/setup-
game
client/vite-
env
common/chess-
engine
common/client-
types
common/game-
end-
reasons
common/game-
types
common/message/game-
message
common/message/message
common/message/parse-
message
common/message/robot-
message
common/message/simulator-
message
common/message/test/parse-
message.test
server/api/api
server/api/client-
manager
server/api/game-
manager
server/api/managers
server/api/save-
manager
server/api/socket-
manager
server/api/tcp-
interface
server/command/command
server/command/executor
server/command/move-
command
server/command/move-
piece
server/js-
chess-
engine
server/main
server/robot/grid-
indices
server/robot/position
server/robot/robot
server/robot/robot-
manager
server/simulator
server/utils/env
server/utils/pair
server/utils/square
server/utils/tcp-
packet
server/utils/test/packet.test
server/utils/units
File
Manager
constructor
Property
File
Path
fs
delete
File
get
File
Names
load
File
write
File
Generated using
TypeDoc