๐Ÿ’Ž Obsidian Developer Docs

Home

โฏ

Reference

โฏ

TypeScript API

โฏ

FileSystemAdapter

FileSystemAdapter

2025๋…„ 6์›” 29์ผ1 min read

FileSystemAdapter

FileSystemAdapter class

Implementation of the vault adapter for desktop.

Signature:

export class FileSystemAdapter implements DataAdapter 

Implements: DataAdapter

Methods

MethodModifiersDescription
append(normalizedPath, data, options)
copy(normalizedPath, normalizedNewPath)
exists(normalizedPath, sensitive)
getBasePath()
getFilePath(normalizedPath)Returns the file:// path of this file
getFullPath(normalizedPath)
getName()
getResourcePath(normalizedPath)
list(normalizedPath)
mkdir(normalizedPath)
mkdir(path)static
process(normalizedPath, fn, options)
read(normalizedPath)
readBinary(normalizedPath)
readLocalFile(path)static
remove(normalizedPath)
rename(normalizedPath, normalizedNewPath)
rmdir(normalizedPath, recursive)
stat(normalizedPath)
trashLocal(normalizedPath)
trashSystem(normalizedPath)
write(normalizedPath, data, options)
writeBinary(normalizedPath, data, options)

๊ทธ๋ž˜ํ”„ ๋ทฐ

  • FileSystemAdapter class
  • Methods

๋ฐฑ๋งํฌ

  • FileSystemAdapter
  • append
  • copy
  • exists
  • getBasePath
  • getFilePath
  • getFullPath
  • getName
  • getResourcePath
  • list
  • mkdir
  • process
  • read
  • readBinary
  • readLocalFile
  • remove
  • rename
  • rmdir
  • stat
  • trashLocal
  • trashSystem
  • write
  • writeBinary
  • index

Created with Quartz v4.5.1 ยฉ 2025

  • GitHub
  • Discord Community