Module "path" Flashcards

(8 cards)

1
Q

Module “path” join

A

It makes a path from two strings, not just concatenates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Module “path” basename

A

Base file name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Module “path” extname

A

File extension name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Module “path” relative

A

Says what we need to do is to come from “from” to “to”, takes 2 arguments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Module “path” absolute

A

Will return true if the path is absolute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Module “path” resolve

A

Takes a step argument (.. or .), performs actions relative to the current execution directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Module “path” sep

A

Returns the current operating system separator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Module “path” parse

A

Parses path and create an object with all information (filename, ext, etc.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly