Class FileLfsRepository

    • Constructor Detail

      • FileLfsRepository

        public FileLfsRepository​(String url,
                                 Path dir)
                          throws IOException

        Constructor for FileLfsRepository.

        Parameters:
        url - external URL of this repository
        dir - storage directory
        Throws:
        IOException
    • Method Detail

      • getDir

        public Path getDir()
        Get the storage directory
        Returns:
        the path of the storage directory
      • getPath

        protected Path getPath​(AnyLongObjectId id)
        Get the path where the given object is stored
        Parameters:
        id - id of a large object
        Returns:
        path the object's storage path
      • getUrl

        public String getUrl()
        Returns:
        the url of the content server
        Since:
        4.11
      • setUrl

        public void setUrl​(String url)
        Parameters:
        url - the url of the content server
        Since:
        4.11