@.fs.extname()
APIFile
获得路径或文件名的扩展名
调用方法
- (path) -> extname
- (filename) -> extname
关联API
- @.fs()
- @.fs.appendBasename()
- @.fs.basename()
- @.fs.changeExtname()
- @.fs.changeRootPath()
- @.fs.copyFile()
- @.fs.deleteFile()
- @.fs.dirname()
- @.fs.exists()
- @.fs.fileLStats()
- @.fs.fileStats()
- @.fs.filename()
- @.fs.hash()
- @.fs.homePath()
- @.fs.isAbspath()
- @.fs.isExecutable()
- @.fs.isUnderDir()
- @.fs.linkFile()
- @.fs.listFiles()
- @.fs.makeDirs()
- @.fs.mime()
- @.fs.moveFile()
- @.fs.openFile()
- @.fs.openReadonlyFile()
- @.fs.pathScore()
- @.fs.posixOSPath()
- @.fs.readFile()
- @.fs.readLink()
- @.fs.realOSPath()
- @.fs.realpath()
- @.fs.relativePath()
- @.fs.resolvePath()
- @.fs.rootBasedPath()
- @.fs.scanFiles()
- @.fs.setFileLMode()
- @.fs.setFileMode()
- @.fs.setFileModifyTime()
- @.fs.setFileOwner()
- @.fs.standardizePath()
- @.fs.tempFile()
- @.fs.tempPath()
- @.fs.touchFile()
- @.fs.truncateFile()
- @.fs.watchFile()
- @.fs.winOSPath()
- @.fs.writeFile()